dont rewrite

This commit is contained in:
Bel LaPointe
2020-07-31 23:15:58 -06:00
parent 9b0bccd9ca
commit 177e0d88da

View File

@@ -37,7 +37,7 @@ func (s *Server) Proxy(w http.ResponseWriter, r *http.Request) {
log.Printf("unknown host lookup %q", r.Host)
return
}
r.Host = newURL.Host
//r.Host = newURL.Host
proxy := httputil.NewSingleHostReverseProxy(newURL)
proxy.Transport = transport
proxy.ServeHTTP(w, r)