jlelse
/
ProxyExposer
Archived
1
Fork 0

Allow compression again
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jan-Lukas Else 2021-10-30 14:11:08 +02:00
parent 3db34060de
commit f32abd8324
1 changed files with 2 additions and 3 deletions

View File

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