nginx 502 Bad Gateway

1.0 502 Bad Gateway After the update of Linux on the web server, the website would not open in the browser. Instead the following error was displayed. 502 Bad Gateway nginx/1.14.0 2.0 Solution First we check the nginx server. $ systemctl status nginx ● nginx.service – A high performance web server and a reverse proxy …

nginx 502 Bad Gateway Read More »

nginx 502 Bad Gateway Error

PROBLEM A routine software update on the server running nginx was done. After that the website stopped opening in the browser window and 502 Bad Gateway error along with the nginx version number was displayed. Looking in the log file showed an entry like, 2014/06/26 11:09:53 [crit] 2539#0: *15 connect() to unix:/tmp/php-fpm.sock failed (13: Permission …

nginx 502 Bad Gateway Error Read More »