|
@@ -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
|