Manufacturer Diagnostics Manual
Verified OEM Technical Manual
Nginx Diagnostics & Fault Manuals
High-performance reverse proxy, load balancer, and HTTP cache.
Equipment Models
Hardware families produced by Nginx
Indexed Error Codes for Nginx
Machine-verified error code diagnostic walkthroughs
CODE 502
Nginx Web & Reverse Proxy
High
502 Bad Gateway
HTTP status 502 Bad Gateway indicates that Nginx, acting as a reverse proxy or load balancer, received an invalid response or no response at all from the upstream backend server (PHP-FPM, Node.js, Python Gunicorn, or Go microservice).
⏱ 10-15 Mins
Troubleshoot →