Skip to content
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

Is there any way an Ingress can send X-Forwarded-* headers to the service/deployment #805

Closed
ivansenic opened this issue Jul 26, 2019 · 1 comment

Comments

@ivansenic
Copy link

ivansenic commented Jul 26, 2019

I searched the internet for almost 4 hours and could not find a concrete answer to this question.

I have deployment that exposes a app listening on the HTTP/1.1. Since communication between Ingress and a client can be secure, I hoped that the Ingress would include the X-Forwarded-For and X-Forwarded-Proto headers, however I am not getting them at all. Is there any option for this be activated?

I saw on the Ingress with HTTP/2 documentation page (https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-http2) that these headers should be included in such scenario. However, my app can not support HTTP/2 at the moment and thus I can not test this.

Any concrete answer would help. Thank you.

@ivansenic
Copy link
Author

Closing as I confirmed that headers are actually set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant