I have a node.js server serving an http server over port 80 and an https server over port 443. I want people to pick between the http:// and https:// version, but http keeps redirecting to https. When I connect to my direct ip over http/https it works perfectly fine. Also people used to be able to pick http or https until today when I pressed “enable all available settings” in optimization.
What steps have you taken to resolve the issue?
I have no page rules. Force https is turned off. I tried having my ssl set to off, flexible, and full, and none of them worked. When it is set to off I get a too many redirects error. When set to flexible or full it redirects to the https version.
Was the site working with SSL prior to adding it to Cloudflare?
I think I found the issue. I recently set up a valid ssl certificate on my origin which made it so https was now secure to connect to. So now browsers will automatically upgrade to https even when I explicitly use http. I am unsure of how to fix this though without making https insecure again.
The reason I want people to be able to access http is because I used localStorage to store some data on there, and now I want people to be able to transfer that data to the https version, but since browsers are automatically redirecting to https they can’t get the data