Add uptime kuma redirect to dashboard for status.trivernis.dev

main
trivernis 1 year ago
parent 89a0aaceb4
commit f9612d14e6
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,4 +1,13 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: prefix-dashboard-services
namespace: uptime-kuma
spec:
addPrefix:
prefix: /status/public
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: uptime-kuma-route name: uptime-kuma-route
@ -7,8 +16,15 @@ spec:
entryPoints: entryPoints:
- web - web
routes: routes:
- match: Host(`status.cluster.trivernis.dev`) || Host(`status.cluster.trivernis.net`) || Host(`status.trivernis.dev`) || Host(`status.trivernis.net`) - match: Host(`status.cluster.trivernis.dev`) || Host(`status.cluster.trivernis.net`)
kind: Rule
services:
- name: uptime-kuma
port: 3001
- match: Host(`status.trivernis.dev`) || Host(`status.trivernis.net`)
kind: Rule kind: Rule
middlewares:
- prefix-dashboard-services
services: services:
- name: uptime-kuma - name: uptime-kuma
port: 3001 port: 3001

Loading…
Cancel
Save