Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
476fabfcf2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,