-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to disable Envoy adding server headers to responses #4359
Comments
The Contour project currently lacks enough contributors to adequately respond to all Issues. This bot triages Issues according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Hi any update of this ? |
Hey @chris93111 This has not been prioritized at this time, but nevertheless I think this issue is a good candidate for community contribution if you are in need of this feature! We can of course provide some guidance on where to start to get this implemented |
Hi @sunjayBhatia! I would love to implement this, can you please guide me on where to start? |
|
@sunjayBhatia, Sorry for the delay on this issue, i was busy in college exams. why cant we directly use an enum, i am having trouble with figuring out where it should be an enum and where should i convert it to the boolean type. I have to add it as an enum here contour/internal/envoy/v3/listener.go Line 150 in 057bac9
and convert it to an enum as well probably by doing something like this contour/internal/envoy/v3/listener.go Line 239 in 057bac9
I have opened a PR on this as well |
…4906) Adds support for configuring Envoy's server header transformation, which customizes how Envoy treats the Server header on responses. The Server header can now be passed through as-is or only set to "envoy" if no other value is present, in addition to the default behavior of always setting the Server header to "envoy". Closes #4359. Signed-off-by: Vishal Choudhary <[email protected]> Signed-off-by: Vishal Choudhary <[email protected]> Signed-off-by: Steve Kriss <[email protected]> Co-authored-by: Steve Kriss <[email protected]>
…rojectcontour#4906) Adds support for configuring Envoy's server header transformation, which customizes how Envoy treats the Server header on responses. The Server header can now be passed through as-is or only set to "envoy" if no other value is present, in addition to the default behavior of always setting the Server header to "envoy". Closes projectcontour#4359. Signed-off-by: Vishal Choudhary <[email protected]> Signed-off-by: Vishal Choudhary <[email protected]> Signed-off-by: Steve Kriss <[email protected]> Co-authored-by: Steve Kriss <[email protected]>
From #3692, @LiddersUK:
According to envoyproxy/envoy#14421, it seems like we will need to set the
server_header_transformation
param on the HTTPConnectionManager topPASS_THROUGH
.This will require a new global config boolean that defaults to
true
that will allow disabling of Envoy's server header responses.The text was updated successfully, but these errors were encountered: