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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user