tangled
alpha
login
or
join now
sr.aux1.dev
/
tsproxy
2
fork
atom
HTTP reverse proxy for Tailscale
2
fork
atom
overview
issues
pulls
1
pipelines
fix "upstream error" log line to include the upstream
sr.aux1.dev
9 months ago
60871e31
78765853
+1
-1
1 changed file
expand all
collapse all
unified
split
tsproxy.go
+1
-1
tsproxy.go
···
243
243
}
244
244
proxy.ErrorHandler = func(w http.ResponseWriter, _ *http.Request, err error) {
245
245
http.Error(w, http.StatusText(http.StatusBadGateway), http.StatusBadGateway)
246
246
-
logger.Error("upstream error", lerr(err))
246
246
+
log.Error("upstream error", lerr(err))
247
247
}
248
248
249
249
instrument := func(h http.Handler) http.Handler {