I have a Nginx server setup to serve a website and whenever I connect to it via my domain it does
“ERR_TOO_MANY_REDIRECTS”
It only does this over HTTPS and I am using Cloudflare origin certificates
Nginx config:
Try connecting directly to origin and see if you can track down if the redirect is coming from there: curl -svo /dev/null https://example.com --insecure --connect-to ::123.123.123.123 (change your domain and server IP address)
I fixed that but I dont see anything indicating redirects
Edit: If I turn off force HTTPS and connect without HTTPS it works perfectly fine. So I think its something to do with force HTTPS.