502 Bad Gateway nginx Vestacp



Some error on centOs 7

tail -f /usr/local/vesta/log/nginx-error.log
     [error] 816#0: *580 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: , server: , request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: ""
sudo wget https://c.vestacp.com/tmp/php-fpm.conf -O /usr/local/vesta/php/etc/php-fpm.conf
sudo service vesta restart


最新回复 (1)
全部楼主
  • Cola 2018-9-28
    引用 2
    rm  -f  /var/run/vesta-php.sock
    service  vesta  restart
    service  nginx  restart


返回