server-side/nginx
Centos7 Nignx php-fpm 502 Bad Gateway
C/H
2017. 2. 16. 08:30
Nginx 502 Bad GateWay
==> error.log <== 2017/02/16 01:25:30 [crit] 7110#0: *115 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: xx.xx.xxx.xx, server: survey.happytalk.io, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "dev-domain.com" # 권한설정으로 해결 vi /etc/nginx/nginx.conf listen.owner = nginx listen.group = nginx listen.mode = 0660
반응형