location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
本文标题:tp5 隐藏index.php Nginx
本文链接:https://www.haomeiwen.com/subject/homykctx.html
网友评论