Explorar el Código

auto update script executed

Toby Chui hace 2 años
padre
commit
b65f5f2a03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mod/dynamicproxy/dpcore/dpcore.go

+ 1 - 1
mod/dynamicproxy/dpcore/dpcore.go

@@ -76,7 +76,7 @@ func NewDynamicProxyCore(target *url.URL, prepender string) *ReverseProxy {
 		fmt.Println(target.Host, target.Path, req.URL.Path)
 
 		req.URL.Scheme = target.Scheme
-		req.URL.Host = target.Host
+		//req.URL.Host = target.Host
 		req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path)
 
 		// If Host is empty, the Request.Write method uses