update public/nginx.htaccess.

修改伪静态
This commit is contained in:
巴掌 authored and Gitee committed 2022-06-15 07:02:16 +00:00 Unverified
1 parent 0fb46835c9
commit 8f98a153f3
1 file changed
+7 -5
+7 -5
View File
@@ -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;
}
}
}