“502 bad gateway” in Nginx – Top 5 reasons for it, and how to resolve it

Maintaining a server is hard. You have to deal with all the upgrades, security patches and the occassional server errors (aka errors from hell). One such common error in Nginx servers is “502 Bad Gateway“.   The error message is cryptic. So, many web masters roll up their sleeves and look at the error log: … Continue reading “502 bad gateway” in Nginx – Top 5 reasons for it, and how to resolve it