From be2c751175d1da19ab7a1b6b3f884497d1b78802 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sun, 27 Sep 2026 18:10:35 +1000 Subject: [PATCH] Redirect vlogs root to the VictoriaLogs UI (#504) Visiting https://vlogs.unkin.net/ currently lands on the bare VictoriaLogs index page with relative links, not the query UI. - Add an Exact `/` rule to the `vlogs` HTTPRoute that 302s to `/select/vmui/` - Keep the PathPrefix `/` catch-all pointed at `vlogs-oauth2:80`, so auth is unchanged Reviewed-on: https://git.unkin.net/unkin/argocd-apps/pulls/504 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- 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