From d0b9c9a26f8994ff20019a0754d92378b7feea34 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 9 Feb 2022 12:38:47 +0100 Subject: [PATCH] internal: remove uvicorn server header Signed-off-by: Jens Langhammer --- internal/web/proxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/web/proxy.go b/internal/web/proxy.go index 4c0b1477b..269a1ebbc 100644 --- a/internal/web/proxy.go +++ b/internal/web/proxy.go @@ -87,5 +87,6 @@ func (ws *WebServer) proxyErrorHandler(rw http.ResponseWriter, req *http.Request func (ws *WebServer) proxyModifyResponse(r *http.Response) error { r.Header.Set("X-Powered-By", "authentik") + r.Header.Del("Server") return nil }