Production Fixes
Real issues from real deployments. Each fix is tagged by tool so you can find what you need fast.
Nginx returns 502 Bad Gateway
Nginx is running but proxying to your app returns 502.
Read fix →Nginx fails to start: SSL cert file not found
nginx -t fails because cert paths in config do not exist yet.
Read fix →413 Request Entity Too Large on file upload
File uploads fail with 413 error.
Read fix →ERR_TOO_MANY_REDIRECTS — redirect loop
Browser shows too many redirects when hitting the site.
Read fix →nginx -t fails with cryptic emerg error
nginx config test throws emerg error and nginx will not reload.
Read fix →Connection refused on port 443 (HTTPS)
HTTP works but HTTPS gives connection refused.
Read fix →Nginx 504 Gateway Timeout
Slow requests result in 504 from nginx before the app responds.
Read fix →Static files return 404 through nginx
CSS, JS, or image files return 404 when served via nginx.
Read fix →