internal: don't override server header
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -46,7 +46,7 @@ func NewProxyServer(ac *ak.APIController, portOffset int) *ProxyServer {
|
||||
rootMux.Use(func(h http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
|
||||
h.ServeHTTP(rw, r)
|
||||
rw.Header().Set("Server", "authentik_proxy2")
|
||||
rw.Header().Set("X-Powered-By", "authentik_proxy2")
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user