It is possible to set a default value for http header “Host” for istio ingress gateway requests?
For example, I have the ingress gateway exposed in ingress.my.domain.com
To call a service in istio mesh I do this curl:
curl http://ingress.my.domain.com/path/in/service -H Host:my-service.namespace.svc.cluster.local
I want to be able to just make:
curl http://ingress.my.domain.com/path/in/service
But when I ommit the Host header, I want it to be the default “my-service.namespace.svc.cluster.local”