Traefik on TrueNas Scale - Too Many Redirects

Hey guys,

I know this is a question that has been asked before, as I have found it when searching this forum but I need some help for my particular case.

I have Traefik setup on my TrueNas Scale instance and all is working well with respects to HTTPS. I am using CloudFlare for my Domains DNS.

Cloudflare offers a proxied DNS service to hide my IP, which is something I want to use. However, if I enable it, I can no longer access any of my services as I get the "Too Many Redirects" error.

What do I need to do to clear up this issue, taking into account I am running Traefik on TrueNas.

Many thanks in advance. If you need any more information particular to my config, please let me know.

Thanks,
P

Share you full Traefik static and dynamic config, and docker-compose.yml if used.

Thanks.

So far as I know docker-compose.yml is not used but I could be wrong. You will have to excuse me as I am a noob in this area. On TrueNas, the installation of the app is as simple as clicking "Install" after filling out a simple configuration form. I can supply these using a cloud link if required, unfortunately I can only add 2 images to the post and I need to add 15.

So far as the "Static" & "Dynamic" config, How would I go about locating these? Is there a shell command I can use to fetch these ?

Many thanks,
P

I have rectified this issue.

For anyone who has Traefik on TrueNas that experiences the Too Many Redirects issue, if you are using a service like Cloudflare, you will find you can adjust the TLS mode.

In my case, my TLS mode was set to "Flexible" which means that only connections between Cloudflare and the browser are encrypted, meaning that for the unencrypted portion, being the traffic between my server and Cloudflare, there has to be an additional re-direct, which is the cause of the problem.

I had to login to Cloudflare and enable the "Full" TLS mode, which means you have point to point encryption enabled. This completely fixed the issue for me.

1 Like