diff --git a/internal/web/proxy.go b/internal/web/proxy.go index e85196edd..41f3c5173 100644 --- a/internal/web/proxy.go +++ b/internal/web/proxy.go @@ -39,6 +39,9 @@ func (ws *WebServer) configureProxy() { } ws.proxyErrorHandler(rw, r, fmt.Errorf("proxy not running")) }) + ws.m.Path("/-/health/live/").HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { + rw.WriteHeader(204) + }) ws.m.PathPrefix("/").HandlerFunc(func(rw http.ResponseWriter, r *http.Request) { if !ws.p.IsRunning() { ws.proxyErrorHandler(rw, r, fmt.Errorf("authentik core not running yet"))