Explorar el Código

auto update script executed

Toby Chui hace 1 año
padre
commit
476fabfcf2
Se han modificado 1 ficheros con 1 adiciones y 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,