Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-04-03 07:16:23 -04:00
parent 828c63a7c6
commit 01889e1d63
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func proxyToUnixSocket(w http.ResponseWriter, r *http.Request) {
Dial: func(_, _ string) (net.Conn, error) { Dial: func(_, _ string) (net.Conn, error) {
return net.Dial("unix", fname) return net.Dial("unix", fname)
}, },
DisableKeepAlives: true,
} }
rp := httputil.ReverseProxy{ rp := httputil.ReverseProxy{