← Back to collection

502 Bad Gateway: Parroxy

502Bad Gateway ParroxyBroken TelephoneIt came broken. I just pass it on!

What it means

A gateway or proxy passed the request on, but got an invalid response from the server.

Where you meet it

Nginx in front of a backend that crashed.

What to test

  • On a test environment, stop the backend service and open the site → a friendly error page, not a raw nginx or proxy page.
  • Read that error page and its response → no internal IP addresses, host names or server versions.
  • Start the backend again and reload the site → it works without any additional steps.