Cloudflare · infra · fg-0215

Site behind Cloudflare loops with ERR_TOO_MANY_REDIRECTS after the origin forces HTTPS

If you see ERR_TOO_MANY_REDIRECTS in the browser, the cause and the fix for Cloudflare are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
ERR_TOO_MANY_REDIRECTS in the browsercurl -I shows 301 to the same https URL repeatedlyStarts right after enabling Force HTTPS in WordPress, Laravel, or nginx
Cause
In Flexible mode Cloudflare talks to the origin over plain HTTP, so an origin that redirects HTTP to HTTPS answers every proxied request with a redirect. The browser keeps following it forever.
Fix
Install a certificate on the origin and switch the zone to Full (strict), or drop the origin redirect and use Always Use HTTPS at Cloudflare.
Apply
Cloudflare dashboard > your zone > SSL/TLS > Overview > Encryption mode: Full (strict)
Affected
Cloudflare zones using Flexible SSL/TLS with an origin that redirects to HTTPS
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun