Hi everyone!
Happy to join the Traefik community!
I'm facing a https redirection issue that I can not solve. I would like to redirect from domain1.com , domain2.com , domain50.com to external.com but without a backend (just a simple 301 redirection). I did heard it's possible via some entrypoint regex (I did tried without success) but I have many domains that I want to redirect, groups of them to specific ones.
I have tried but It works just for one redirection group d1.com, d2.com, d3.com → x1.com but not for the other. For the second one when I do some request to then I don't get any response (no status code o something). I'm using docker swarm.
Partially solved combining frontend settings (fake backend) and one entryPoint redirect.
But for only two groups, what happen if I have more without backend?
@CDuv I have done basically via one redirection regex using one frontend + fake backend for the first group and then for the second one just one redirection at the entrypoint level because entrypoint also supports redirection based on regexs.
If you have applications with docker backends for example there is no problem because you can add redirections directly via docker labels per service.
The problem is if you have many groups without backends to apply external redirections. Traefik v2 plans to support Multiple entry regex redirects - Issue #723 but it's in alpha yet.
We plan to rewrite the redirection system. The entry points are a completely different notion in the v2 than in the v1.
For now, the issue #723 is not in the scope of the v2.