How to remove Envoy response header?

3.3k views Asked by At

Envoy proxy add some sensitive header, eg: Server, X-Envoy-Upstream-Service-Time...

I want to disable or remove those headers. How can I do that?

Thank for your help!

1

There are 1 answers

2
justincely On

Though there are some headers that can't be removed, I think all of these you show here can be stripped using the request_headers_to_remove field in the RouteConfiguration.

Check the docs here for usage.