diff --git a/modules/http_proxy/http_proxy_base.go b/modules/http_proxy/http_proxy_base.go index 3cad6bf2..b810f864 100644 --- a/modules/http_proxy/http_proxy_base.go +++ b/modules/http_proxy/http_proxy_base.go @@ -397,8 +397,8 @@ func (p *HTTPProxy) httpsWorker() error { Opaque: hostname, Host: net.JoinHostPort(hostname, "443"), }, - Host: hostname, - Header: make(http.Header), + Host: hostname, + Header: make(http.Header), RemoteAddr: c.RemoteAddr().String(), } p.Proxy.ServeHTTP(dumbResponseWriter{tlsConn}, req)