location / {
root html;
index index.php index.html index.htm;
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
nginx伪静态文件
最新推荐文章于 2023-09-08 14:27:09 发布