修改配置文件
This commit is contained in:
parent
d771b54ae5
commit
b25aece9ae
|
@ -0,0 +1,8 @@
|
|||
location / {
|
||||
index index.php index.html;
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^/index.php(.*)$ /index.php?s=$1 last; #必须在前面
|
||||
rewrite ^(.*)$ /index.php?s=$1 last;
|
||||
break;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue