I'm still fairly new to Traefik and so I still feel like I'm constantly fighting it
That said, this one definitely seems.. not right. I've got a redirectscheme middleware setup for a domain (www.minetheftauto.com) and it doesn't seem to be forcing the redirect.
The middleware shows up on the dashboard, and also shows up in the router on the dashboard.
However, the HTTP call goes something like this:
Forgive the config for being a bit of a mess since its in rancher:
A full example of how I set it up is in Trajano base Docker swarm stacks (I just updated it today to use the new 2.2 constructs reducing a few lines of code in TOML.
Hello, I started using v2.2 in Docker and the global HTTPS redirection doesn't work for me.
I'm doing it in the static conf under /etc/traefik/traefik.toml.
It looks like this:
Thank you for your replay. I tried it too, it doesn't work either.
The only think that works, if I define a redirectScheme middleware and assign it to for each container. But that's what I wanted to prevent with thew new feature.
EDIT:
I have no idea if it's the reason, but I know added tls to each container and it works now.
Like this: