update public/nginx.htaccess.
修改伪静态
This commit is contained in:
1 parent
0fb46835c9
commit
8f98a153f3
1 file changed
+7
-5
@@ -1,6 +1,8 @@
|
||||
location / { // …..省略部分代码
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||
break;
|
||||
location / {
|
||||
index index.html index.htm index.php;
|
||||
#autoindex on;
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user