linode中出现502 Bad Gateway错误

记录一下

关于lnmp一键安装包的nginx 502 Bad Gateway错误:http://bbs.vpser.net/thread-1144-1-1.html

Nginx 502 Bad Gateway错误的终极解决方案 彻底解决lnmp出现的502错误:http://itfis.com/post-212.html

修改尝试:
/local/php/etc/php-fpm.conf 修改里面的 max_children = 10
php-fpm重启
/usr/local/php/sbin/php-fpm restart
nginx 重启
/usr/local/nginx/sbin/nginx -s reload

未尝试的修改
nginx.conf 里修改 fastcgi_pass 127.0.0.1:9000;
php-fpm.conf 里修改 127.0.0.1:9000

Tags: , ,

Leave a Comment