I made a page rule to exclude one folder from the HTTP -> HTTPS redirection, but it’s not working.
When I open an URL from that folder via HTTP, it redirects it to HTTPS, then back to HTTP and it continues redirecting back and forth in an enldess loop until the “too many redirects error appears”:
This is the URL I’m trying to open via HTTP:
This is the page rule I have setup to disable HTTPS for that folder:
Besides that, I have only one other page rule, which is ordered below this one:
I’m pretty sure the problem is not on my server side, because when I disable CF proxy for the domain svipopusti.hr, and set it to DNS Only, the problem doesn’t occur, and the files inside the “.well-known” folder can be loaded over HTTP. When I turn the proxying back on, the problem returns. Also, it works on the subdomain which is permanently setup to DNS Only:
Here are the response headers for the HTTP <-> HTTPS redirections:
Please help, what am I doing wrong?