nginx服务器下伪静态配置

This commit is contained in:
2017-09-18 23:33:13 +08:00
parent e404954769
commit c0cfb361ff
+6
View File
@@ -0,0 +1,6 @@
location / {
if ( !-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}