You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2019. It is now read-only.
Deploy the stack: docker stack up -c stack.yaml http
This will listen on port 2100 & 2101
Access endpoints :2101/yes with an extra header
X-Forwarded-Proto: https:
# With httpie:
http :2101/yes x-forwarded-proto:https show_env==1
# With curl:
curl 127.0.0.1:2101/yes -H x-forwarded-proto:https
Expected result
:2101/yes should respond with yes https, which is configured
as direct_response
Actual result
:2101/yes responds with yes
Extra Debugging
Accessing endpoint :2101/bin/headers?show_env=1 returns all
headers sent from Envoy to httpbin. Which shows that
header X-Forwarded-Proto is overwritten.
About
Reproduce a bug of Envoy that overwrites x-forwarded-proto from downstream