Skip to content

Conversation

@JanTvrdik
Copy link
Contributor

@JanTvrdik JanTvrdik commented Mar 9, 2023

When reading #221, I noticed X-Forwarded-Host is incorrectly used for remote host.

X-Forwarded-Host is in no way related to remote host.
X-Forwarded-Host contain value of Host header that client sent to the proxy.
Remote host is related to remote addr (client ip).

@JanTvrdik JanTvrdik force-pushed the proxy-remote-host branch 2 times, most recently from 2d11e41 to 1ff390b Compare March 9, 2023 20:35
@JanTvrdik JanTvrdik force-pushed the proxy-remote-host branch from 1ff390b to 65d8278 Compare March 9, 2023 20:42
@dg
Copy link
Member

dg commented Mar 18, 2023

Thanks

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

Successfully merging this pull request may close these issues.

2 participants