Jehna :)

nginx 에러 no port in upstream "php-fpm" 본문

윌리/System 이것저것

nginx 에러 no port in upstream "php-fpm"

Jehna 2020. 6. 18. 23:22

NGINX [emerg] no port in upstream "php-fpm"



환경: php-fpm, nginx, mariadb


!!해결 방법!!


- /etc/nginx/conf.d/php-fpm.conf  파일이 없거나 설정이 잘 못되었을 때 발생

 


 # PHP-FPM FastCGI server

 # network or unix domain socket configuration


 upstream php-fpm {

        #server 127.0.0.1:9000;

        server unix:/run/php-fpm/www.sock;

 }