Question

Too many redirects on nginx proxy manager and unraid

Answer

The sites I was having an issue with were all http sites that I was proxying a connection to. I did however find part of the configuration issues that I had. Force SSL may not work with CloudFlare proxying. Since I was not able to get it to work at the server level, I enabled Strict SSL Enforcement on CloudFlare.

When you have enabled the SSL enforcement on CloudFlare, you can force to https again.

I think I found the answer to my situation. I found it when reading a blog https://www.smarthomebeginner.com/traefik-2-docker-tutorial/ 364
The tutorial is very good by the way, but one of the messages in there was that with cloudflare you need to set the domain SSL/TLS encryption mode to Full. “In addition to creating the DNS records, you will have to adjust Cloudflare’s SSL settings to avoid indefinite redirects.”.

Links/related reading


📇Additional Metadata