location/{
if(-f$request_filename/index.html){
rewrite(。*)$1/index.htmlbreak;
}
if(-f$request_filename/index.PHP){
rewrite(。*)$1/index.PHP;
}
if(!-f$请求文件名){
重写(。*)/index.PHP;
}
}
rewrite/WP-admin$$scheme://$host$uri/permanent;
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)