差别
这里会显示出您选择的修订版和当前版本之间的差别。
— |
amh4.2:nginx_rewrite_rule:shopex [2017/05/26 16:03] (当前版本) root 创建 |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | =====shopex在nginx 下的伪静态规则===== | ||
+ | \\ | ||
+ | \\ | ||
+ | <code> | ||
+ | location / { | ||
+ | if (!-e $request_filename) { | ||
+ | rewrite ^/(.+\.(html|xml|json|htm|php|jsp|asp|shtml))$ /index.php?$1 last; | ||
+ | } | ||
+ | } | ||
+ | </code> |
最后更改: in 2017/05/26 16:03