怎么用nginx 设置禁止访问某个文件
怎么用nginx 设置禁止访问某个文件我想单独禁止访问news_gl.php 应该如何设置啊大师upload.phppost.php
news_modify.php
news_gl.php
news_fabu.php
news_cat.php
membernews.php
index.php 和去掉执行权限一样
https://www.vpser.net/security/lnmp-remove-nginx-php-execute.html
location ~ /(p.php|a.php|c.php) {
deny all;
}
需加在php解析配置前面,否则不生效
页:
[1]