rewrite in Nginx-Ingress virtualServer hostname to different hostname
I have a nginx configuration as
Nginx Ingress: Canary deployments not working with ingress-name, working with Kubernetes service name
I am trying out nginx-ingress canary services via Header-value. So, basically, if I have the header nginx-1
, if ingress domain is called, it should go to nginx-1
service. But I keep getting a 404 regardless. If I replace the domain with Kubernetes service name, then it works just fine. What am I doing wrong?