hyper-reverse-proxy/src
Brian Picciano 9f4b94724f Do not set Host header in proxied request
If there is a reverse proxy downstream of hyper-reverse-proxy, and
the forward_url is something like `http://127.0.0.1:4333`, with the
expectation that the downstream RP will handle the request further, then
the request ends up with `Host: 127.0.0.1` as a header, which is
incorrect. It's seemingly impossible to override this behavior.

Removing the setting of the Host header to fix this, as it's not
necessary anyway.
2024-01-14 17:35:03 +01:00
..
lib.rs Do not set Host header in proxied request 2024-01-14 17:35:03 +01:00