Allow compression again
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3db34060de
commit
f32abd8324
5
main.go
5
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) {
|
||||
|
|
Loading…
Reference in New Issue