nginx Permission denied) while reading upstream

2018/01/05 13:49:47 [crit] 31363#0: *68 open() "/app/nginx/nginx/proxy_temp/2/00/0000000002" failed (13: Permission denied) while reading upstream, client: 10.133.125.11, server: myjr.atguat.com.cn, request: "GET /bocopackage2/downloadPdfProduct.dhtml HTTP/1.1", upstream: "http://10.112.179.33:30123/bocopackage2/downloadPdfProduct.dhtml", host: "myjr.atguat.com.cn:30123", referrer: "https://myjr.atguat.com.cn:30123/bocopackage/inits.dhtml"



ps -ef |grep nginx

发现 master进程 用户是root work进程是Jenkins
修改配置文件vim nginx.conf
修改user nginx为当前系统用户,如:user nginx



其他
sudo chmod 777 /app/nginx/nginx/proxy_temp/ -R 修改文件夹及其子文件

sudo chown -R nginx:nginx /app/nginx/nginx/proxy_temp/ 修改用户和组为nginx

阅读更多
文章标签: nginx
个人分类: nginx
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭