From a7fea5434de53ccab0d017adb9ead80057aacc43 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 a58ea9ef1..79ba8ca06 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 }