diff --git a/forwardproxy.go b/forwardproxy.go index c421590..fbd76b3 100644 --- a/forwardproxy.go +++ b/forwardproxy.go @@ -311,7 +311,7 @@ func (fp *ForwardProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, httpserver.WriteSiteNotFound(w, r) return 0, authErr // current Caddy behavior without forwardproxy } else { - w.Header().Set("Proxy-Authenticate", "Basic") + w.Header().Set("Proxy-Authenticate", "Basic realm=\"Caddy Secure Web Proxy\"") return http.StatusProxyAuthRequired, authErr } }