My existing setup: I've two Ingresses ingress-1 and ingress-2 in two different namespaces (namespace1 and namespace2). ingress-1 listens on abc.domain.com and ingress-2 listens on def.mydomain.com
Even after these changes, my browser is not redirecting to def.mydomain.com. However, connecting to myapp (as I've configured this on ingress-2 of-course)
Question: Is my requirement (redirect with code 30x) is possible with Traefik proxy (v2.x)?
If so, what is the solution and where I've to configure?
If not, what is the alternative solution for this?
Hi @kmskpraveen,
Thanks for your interest in Traefik.
As you said and did, having both ingresses with the same rule does not guaranty the router used while forwarding the request. So removing the ingress-1 is good to me.
On my side, I managed to make the redirection working without TLS and in default namespace only.
Did you see the issue with simpler setup as I did?
Could you provide your traefik configuration and your traefik version?
I'm using default configurations from official helm chart and v2.7.0. Only, I installed Traefik as NodePort in our K8s cluster and configured AWS ALB on top of it.
May I know is your browser automatically redirecting the page to new domain (Ingress) from your setup?