Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
ca5b50b29b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mod/dynamicproxy/proxyRequestHandler.go

+ 1 - 1
mod/dynamicproxy/proxyRequestHandler.go

@@ -118,7 +118,7 @@ func (h *ProxyHandler) proxyRequest(w http.ResponseWriter, r *http.Request, targ
 	}
 
 	originalHostHeader := r.Host
-	r.Host = r.URL.Host
+	//r.Host = r.URL.Host
 	err := target.Proxy.ServeHTTP(w, r, &dpcore.ResponseRewriteRuleSet{
 		ProxyDomain:  target.Domain,
 		OriginalHost: originalHostHeader,