Selaa lähdekoodia

auto update script executed

Toby Chui 1 vuosi sitten
vanhempi
commit
ca5b50b29b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,