From f32abd83248e9ab7e20bd0b5fa39259bfef70744 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sat, 30 Oct 2021 14:11:08 +0200 Subject: [PATCH] Allow compression again --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 5b1659d..5012667 100644 --- a/main.go +++ b/main.go @@ -47,9 +47,8 @@ func main() { rp := httputil.NewSingleHostReverseProxy(upstreamUrl) rp.Transport = &http.Transport{ - Proxy: http.ProxyURL(proxyUrl), - DisableKeepAlives: true, - DisableCompression: true, + Proxy: http.ProxyURL(proxyUrl), + DisableKeepAlives: true, } err = http.ListenAndServe("0.0.0.0:"+strconv.Itoa(port), http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {