crx349 发表于 2018-5-12 22:16:19

Modoer 3.6.5 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=$2last;
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.htmllast;一个项目转换到linux下 之前是iis的web.config 现在需要用nginx自己转了下,分享
页: [1]
查看完整版本: Modoer 3.6.5 nginx伪静态规则