nginx重写代码

if (!-e $request_filename) {

# rewrite ^/(.*)$ /index.php?$1 last; #break;

rewrite ^/(.+)$ /index.php last;

}

posted @ 2015-07-22 17:39  Forward1990  阅读(192)  评论(0编辑  收藏  举报