Nginx troubleshooting guides
Troubleshoot Nginx with logs, upstream errors, redirects, headers, permissions, request limits, and config checks.
Curated guides
Nginx troubleshooting guides
7 matched guides, best match first.

How to Fix Nginx 413 Request Entity Too Large Errors
Nginx returns 413 Request Entity Too Large when a client sends a request body that is larger than the layer handling the request allows. File uploads are the...

How to Fix Nginx 504 Gateway Timeout Errors
An Nginx 504 Gateway Timeout error means Nginx waited too long for the next upstream step to complete. The upstream might be a reverse-proxied application, a PHP-FPM pool,...

Nginx Access and Error Logs Guide
Nginx access logs and error logs remove guesswork when a site returns the wrong page, hides a static file, breaks a reverse proxy, or fails after a configuration...

How to Fix Nginx 403 Forbidden
An Nginx 403 Forbidden error means the request reached the server, but Nginx or an upstream layer refused to serve the requested resource. The most common causes are...

How to Fix Nginx 404 Not Found
An Nginx 404 Not Found error means the request reached a web server, but the active Nginx configuration or the upstream application could not match it to a...

How to Fix Nginx 502 Bad Gateway
An Nginx 502 Bad Gateway error means Nginx accepted the client request but could not get a valid response from the upstream service. The upstream might be a...

Configure Nginx Upstream Load Balancing
Nginx upstream load balancing lets one public virtual host send traffic to two or more backend servers. It is useful when an application runs on several ports, containers,...