If you got 502 Bad Gateway Error in Nginx after updating software in your system.
Because of update in php-fpm this error may occur.
1. Edit /etc/php-fpm.d/www.conf
vi /etc/php-fpm.d/www.conf
And set listen line to look as follows:
listen = 127.0.0.1:9000
2. Now change nginx configuration files of each domain which may...