Skip to content
ohsudo, Home

Tags

#cloudflare

ERR_TOO_MANY_REDIRECTS
Networking

ERR_TOO_MANY_REDIRECTS with Nginx and Cloudflare: find the loop and break it

Fix ERR_TOO_MANY_REDIRECTS: follow the loop with curl, then fix Cloudflare Flexible SSL, HTTPS redirects behind a proxy, X-Forwarded-Proto and www redirects that fight.

Intermediate · 4 min read

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