赞
踩
*355 open() "/var/lib/nginx/tmp/proxy/3/07/0000000073" failed (13: Permission denied) while reading upstream, client: 127.0.0.1, server: localhost, request: "GET /dinner/images/img1.png HTTP/1.1", upstream:
到 /var/lib/nginx/tmp 目录 用命令 ll 查看权限,如下:
如果没有权限:执行:chmod -R 766 proxy/,如果有权限,无需执行
查看nginx的权限如图:权限是nginx 然后更改nginx配置文件:user nginx;
改成:user root;
然后停止 nginx -s stop
重启nginx -c nginx.conf
然后测试,发现搞定了,over! 啦!啦!啦!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。