diff --git a/crates/proxy/src/lib.rs b/crates/proxy/src/lib.rs index 0a9ddf7af..327615026 100644 --- a/crates/proxy/src/lib.rs +++ b/crates/proxy/src/lib.rs @@ -209,8 +209,6 @@ where for (key, value) in req.headers() { if key != HOST { build = build.header(key, value); - } else { - build = build.header(HOST, forward_url.host().unwrap()); } } if let Some(host) = forward_url.host().and_then(|host| HeaderValue::from_str(host).ok()) {