Hi
I tried this command to for 502 bad gateway error in browser to check localhost
How to fix this problem
curl -I localhost
HTTP/1.1 502 Bad Gateway
Server: nginx/1.4.6 (Ubuntu)
Date: Wed, 27 May 2015 06:44:28 GMT
Content-Type: text/html
Content-Length: 181
Connection: keep-alive