
Fix Nginx Upstream Connection Refused in Proxy Pass
When Nginx returns a 502 Bad Gateway or logs upstream connection refused
Software troubleshooting desk

When Nginx returns a 502 Bad Gateway or logs upstream connection refused

You add a proxy_pass directive to an Nginx server block, run nginx -t, ...

You're running a Python script that reads a large file—maybe a CSV with millions of rows, a l...

When you run npm install or npm start and see package.json not fo...

You're browsing in Chrome and see a full-page warning: Your connection is not private...

You attempt to run a MySQL container with a bind mount volume and get an error like mkdir: ...