I am trying to create a website with SSL/HTTPS turned off.
I uploaded HTML, JS, and CSS files to Cloudlfare Pages. Then I linked up the custom domain heapsbetter.com. And finally I changed these settings in Cloudflare to turn off HTTPS:
SSL/TLS encryption mode is Off
HTTP Strict Transport Security (HSTS) is Off
Automatic HTTPS Rewrites is Off
Universal SSL is Disabled
Also there are no Page or Configuration rules setup.
I thought this would create a website with SSL turned off, but actually it just creates a redirect loop so that the website never loads.
And I have read this help article about redirect loops, but none of that applies in this case: https://developers.cloudflare.com/ssl/troubleshooting/too-many-redirects/
When you say “pause Cloudflare” I think you mean Websites > heapsbeter. com > Pause Cloudflare on Site. I have tried that and the redirect remains.
I think the problem stems from the fact that Cloudflare Pages (where the site is hosted) still has SSL turned on. And I can’t see where to turn that off.
So how do I turn off SSL for Cloudflare Pages?
See a screenshot of the Cloudflare Pages Custom Domains tab here:
As for Workers, those do not enforce HTTPS and you can do whatever you want. Whether you really want to run a whole page via them, is a different question of course.