2013-09-27, 01:07 PM
Are you using any kind of DDOS protection or Cloud Flare? These all uses reverse proxies and will generate a 502 error when the web server is down and the reverse proxy (NGINX) can't connect.
RedHat Certified Systems Administrator