How to remove host header

1/23/2018

I want to remove Host header at ingress controller before sending the request to backend service. Will appreciate your insight.

My backend service is NOT expecting any Host header.

Thank you !

-- Vinod Singh
google-cloud-platform
kubernetes

1 Answer

1/30/2018

Google Cloud Platform is working on richer routing and transforms with HTTP(s) Load Balancer, used by Kubernetes Engine Ingress. No ETA is available.

In the meantime, you can use a proxy service in front of the application. See this answer on how to remove a header with nginx.

-- Matt-y-er
Source: StackOverflow