|
@@ -17,6 +17,7 @@ func NewReverseProxy(ds *m.DataSource, proxyPath string) *httputil.ReverseProxy
|
|
|
director := func(req *http.Request) {
|
|
director := func(req *http.Request) {
|
|
|
req.URL.Scheme = target.Scheme
|
|
req.URL.Scheme = target.Scheme
|
|
|
req.URL.Host = target.Host
|
|
req.URL.Host = target.Host
|
|
|
|
|
+ req.Host = target.Host
|
|
|
|
|
|
|
|
reqQueryVals := req.URL.Query()
|
|
reqQueryVals := req.URL.Query()
|
|
|
|
|
|