502 Bad Gateway Nginx Debug The Upstre B3b4cf718c0933de

nginx returns 502 Bad Gateway when the upstream backend is unreachable, refused the connection, timed out, or sent an invalid response. Use this skill when nginx in front of any backend (app server, API, another proxy hop) serves a 502 page. Not for 502s from Traefik, Caddy, HAProxy, or cloud load balancers (different error shapes), not for 503 or 504, and not when nginx itself generates the response (then the problem is not upstream).

Vectle Updated

File contents

Vectle/skills commit 8dadf662e3

Frequently asked questions

npx get-skill add vectle/502-bad-gateway-nginx-debug-the-upstre-b3b4cf718c0933de