CloudFlare + LetsEncrypt (via EasyEngine) infinite loop

If I create a SSL enabled WP installation and migrate over nameserver to cloudflares’, i noticed that the site goes into infinite redirect loop.

Anyone know a solution around this?

In the cryto settings, you have to set the level to Full, because you are using a valid certificate. Currently Cloudflare doesn’t force ssl so your browser is looping between http and https.

You can also used the Cloudflare origin certificate to replace letsencrypt, because it reduce SSL handshake and is valid up to 15 years. I have wrote a tutorial to use it : https://anystack.xyz/how-to-install-cloudflare-ssl-origin-certificates-with-nginx/

4 Likes

thanks @virtubox

Yeah, that “full” level seemed to have solved it

For future references, if someone else has this kind of issues, this might help: https://jeremy.hu/cloudflare-flexible-ssl-wordpress/