Too many redirects when using cloudflare

hello,

i have a website that if it is proxied with cf, than i see only toomany redirect. If i use cf only as dns it work fine. The site has a ssl cert issued with certbot.

Why this mystery?

thank you

Check your encryption mode on Cloudflare. It should be “Full strict” and probably isn’t.

Yes, you are right.
Any explanatiin why this cause the loops?

Thank you

Because you made the proxies connect in an insecure fashion to your server and your server tried to force them onto HTTPS.

I believe there’s an article in #Tutorials which goes into details.

Keep the encryption mode on “Full strict” and make sure your server certificate is getting renewed when necessary and you should be good to go.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.