在访问lnmp项目的某个方法时页面显示:Access denied.

问答中心分类: Nginx在访问lnmp项目的某个方法时页面显示:Access denied.
wuy 提问 1周 前

在访问项目的某个方法时 页面显示:Access denied. nginx报错如下 2018/08/10 09:40:54 [error] 11472#0: *1 FastCGI sent in stderr: “Access to the script ‘/data/wwwroot/xxx/index.php/home/login’ has been denied (see security.limit_extensions)” while reading response header from upstream, client: 117.28.xx.xx, server: xx.aaa.com, request: “GET /home/login HTTP/1.1”, upstream: “fastcgi://unix:/dev/shm/php-cgi.sock:”, host: “xx.aaa.com”

问题标签:
1 问题
oneinstack 回答 1周 前

可能是nginx伪静态不对,参考自己本地测试nginx配置文件:/usr/local/nginx/conf/vhost/xx.aaa.com.conf