增加宝塔部署nginx文件

This commit is contained in:
mofung1 2021-08-25 11:10:52 +08:00
parent 6572e124d5
commit 5ce3c16fd7

5
nginx.rewrite Normal file
View file

@ -0,0 +1,5 @@
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}