diff options
-rw-r--r-- | internal/auth/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go index 59dd0749..84f42a53 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -218,7 +218,7 @@ func (a *Auth) handleProxyingAuth(session *hostSession, w http.ResponseWriter, r if !a.domainAllowed(r.Context(), host, domains) { logRequest(r).WithField("domain", host).Warn("Domain is not configured") - httperrors.Serve401(w) + httperrors.Serve404(w) return true } |