«   2018/07   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Archives
Today
38
Total
1,123,207
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

Centos7 Nignx php-fpm 502 Bad Gateway 본문

Server Side/Nginx

Centos7 Nignx php-fpm 502 Bad Gateway

푸른바람 C/H 2017.02.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


0 Comments
댓글쓰기 폼