Redirect vlogs root to the VictoriaLogs UI
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

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.
This commit is contained in:
2026-09-27 17:45:54 +10:00
parent 216b1d72ac
commit f42ca99a8c
+12
View File
@@ -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