-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
area/ingressIssues related to changes in `kind: Ingress`Issues related to changes in `kind: Ingress`proposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined
Description
Is your feature request related to a problem? Please describe.
If I have an Ingress Resource deployed, and I send a request with X-Forwarded-Host
header, the value in the header is not preserved
Describe the solution you'd like
The command below should return ‘bogus.example.com’:
$ curl --header "X-Forwarded-Host: bogus.example.com" https://www.example.com
"x-forwarded-host": "bogus.example.com",
"host": "www.example.com"
Instead, it returns ‘www.example.com’ for both ‘x-forwarded-host’ and ‘Host’:
$ curl --header "X-Forwarded-Host: bogus.example.com" https://www.example.com
"x-forwarded-host": "www.example.com",
"host": www.example.com
Describe alternatives you've considered
We would have to create a custom annotation, which is less than desirable
Additional context
N/A
Metadata
Metadata
Assignees
Labels
area/ingressIssues related to changes in `kind: Ingress`Issues related to changes in `kind: Ingress`proposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined
Type
Projects
Status
Prioritized backlog