diff --git a/main.go b/main.go index 8b478a4..5b1659d 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,9 @@ func main() { rp := httputil.NewSingleHostReverseProxy(upstreamUrl) rp.Transport = &http.Transport{ - Proxy: http.ProxyURL(proxyUrl), + Proxy: http.ProxyURL(proxyUrl), + DisableKeepAlives: true, + DisableCompression: true, } err = http.ListenAndServe("0.0.0.0:"+strconv.Itoa(port), http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {