编辑Nginx配置文件在fastpass前添加以下内容
location ~* ^/www.hack1990.com/.*\.(php|php5)$ #限制/data/attachment/目录{deny all; #拒绝执行php程序} 重启nginx service nginx restart
暂无评论
发表评论