Why?
The default CloudFlare SSL mode is set to “Flexible”, CloudFlare will try to connect to your origin server over HTTP, and your origin server may redirect to HTTPS, potentially creating a loop. That’s what happens to me cause I have set my website to force rewrites of all HTTP to HTTPS.
Solution
- Open Cloudflare, and choose SSL/TLS at the sidebar.
- Click Configure.
- Change SSL/TLS encryption mode to Full or Full (strict).
Reference
About this Post
This post is written by Andy, licensed under CC BY-NC 4.0.
Next
Cloudflare Workers 代理/镜像加速
Previous