From f42ca99a8ca52dd474d5a5787e8768e96f1d97f6 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sun, 27 Sep 2026 17:45:54 +1000 Subject: [PATCH] Redirect vlogs root to the VictoriaLogs UI Add an Exact / rule on the vlogs HTTPRoute that 302s to /select/vmui/, so the bare host lands on the UI instead of the index page. --- apps/base/logging/vlogs/httproute.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/base/logging/vlogs/httproute.yaml b/apps/base/logging/vlogs/httproute.yaml index 03debad..b97755e 100644 --- a/apps/base/logging/vlogs/httproute.yaml +++ b/apps/base/logging/vlogs/httproute.yaml @@ -37,6 +37,18 @@ spec: name: vlogs-external sectionName: https rules: + # Exact / outranks the PathPrefix catch-all; target needs the trailing slash + - filters: + - type: RequestRedirect + requestRedirect: + path: + type: ReplaceFullPath + replaceFullPath: /select/vmui/ + statusCode: 302 + matches: + - path: + type: Exact + value: / - backendRefs: - group: "" kind: Service