HTTPRoute filters need to apply the user provided value for the existing headers #3192
Labels
bug
Something isn't working
refined
Requirements are refined and the issue is ready to be implemented.
size/medium
Estimated to be completed within a week
Milestone
Describe the bug
HTTPRoute filters does not honor the user provided value for already existing headers.
To Reproduce
Steps to reproduce the behavior:
Apply the gateway.yaml and headers application
use the following HTTPRoute
The header
X-Forwarded-Proto
Nginx Config
The header is
X-Forwarded-Proto
set twice.Expected behavior
We need to set the header
X-Forwarded-Proto
once tohttps
(user provided value).Your environment
kubectl -n nginx-gateway logs -l app=nginx-gateway -c nginx
kubectl -n nginx-gateway exec <gateway-pod> -c nginx -- nginx -T
Additional context
Add any other context about the problem here. Any log files you want to share.
The text was updated successfully, but these errors were encountered: