
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

If Chrome shows 'Your connection is not private' with 'NET::ERR_CERT_AUTHORITY_INVALI...

If you see the error fatal: unable to access 'https://...': SSL certificate problem...

Cloudflare error 521 means your origin web server is refusing the connection from Cloudflare'...

You've set up SSL on your Nginx server, but now visitors get stuck in a redirect loop—HTTP→HT...

When Chrome shows NET::ERR_CERT_AUTHORITY_INVALID and refuses to load a site, it...