HTTP 502 Bad Gateway

A proxy or gateway received an invalid response from the upstream server.

๐Ÿ”’ Runs locally โ€” your input never leaves this browser tab

Code
502
Name
Bad Gateway
Category
5xx โ€” Server error

How to fix / what to check

The app behind the proxy is down or crashing. Check php-fpm / app container status and the upstream address (socket path or port) in the nginx config.

See the status code yourself

curl -sS -o /dev/null -w '%{http_code}\n' https://example.com/path

Add -v to see the full request and response headers.

โ† All HTTP status codes