NGINX伪静态规则(version:5.1)
# NGINX
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?s=$1 last;
}
location ~ ^/.*/.*\.(htm|php)$ {
deny all;
}
${content}
# NGINX
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?s=$1 last;
}
location ~ ^/.*/.*\.(htm|php)$ {
deny all;
}
www.puyuetian.com
手机扫一扫
查看更多内容