Skip to content
ohsudo, Home

Tags

#timeouts

504 Gateway Time-out
Networking

Nginx "504 Gateway Time-out": find out what's slow before raising the timeout

Fix Nginx "504 Gateway Time-out": read the error log, measure the backend, set proxy_read_timeout or fastcgi_read_timeout, and check Cloudflare and load balancers.

Intermediate · 5 min read