diff --git a/pkg/server/root.go b/pkg/server/root.go index 0fb4dbcfb..3dfe5cd05 100644 --- a/pkg/server/root.go +++ b/pkg/server/root.go @@ -145,6 +145,10 @@ func (rh *RootHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { if rh.Stealth { return } + if req.RequestURI == "/" && rh.ui != nil { + http.Redirect(rw, req, "/ui/", http.StatusMovedPermanently) + return + } if req.URL.Path == "/favicon.ico" { ServeStaticFile(rw, req, Files, "favicon.ico") return