modoer nginx 僞靜態

rewrite ^(.*)/(article|card|comment|coupon|exchange|fenlei|item|link|member|index|party|product|space|tuan|ucenter|ask|pay|graph|ask|review|discussion|mobile|group)\.html$ $1/index.php?m=$2 last;

rewrite ^(.*)/(article|card|comment|coupon|exchange|fenlei|item|link|member|index|party|product|space|tuan|ucenter|ask|pay|graph|ask|review|discussion|mobile|group)\-(.+)\.html$ $1/index.php?Rewrite=$2-$3.html last;

if (!-e $request_filename) {

return 404;

}




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章