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 := httputil.NewSingleHostReverseProxy(upstreamUrl)
|
||||||
rp.Transport = &http.Transport{
|
rp.Transport = &http.Transport{
|
||||||
Proxy: http.ProxyURL(proxyUrl),
|
Proxy: http.ProxyURL(proxyUrl),
|
||||||
DisableKeepAlives: true,
|
DisableKeepAlives: true,
|
||||||
DisableCompression: true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
err = http.ListenAndServe("0.0.0.0:"+strconv.Itoa(port), http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
|
err = http.ListenAndServe("0.0.0.0:"+strconv.Itoa(port), http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Reference in New Issue