Update Traefik configuration to enable dashboard API and adjust routing rules

This commit is contained in:
Marco van Zijl 2025-11-08 15:06:29 +01:00
parent a6dd91a88c
commit 259835cb25

View File

@ -7,6 +7,11 @@ traefik:
installCRDs: true
# Enable API (required for dashboard)
api:
dashboard: true
insecure: false
service:
type: LoadBalancer
annotations:
@ -55,13 +60,14 @@ traefik:
spec:
parentRefs:
- name: traefik-gateway
sectionName: web
hostnames:
- "traefik.noxxos.nl"
rules:
- matches:
- path: { type: PathPrefix, value: /dashboard }
- path: { type: PathPrefix, value: /api }
- path:
type: PathPrefix
value: /
backendRefs:
- group: traefik.io
kind: TraefikService
name: api@internal
- name: traefik
port: 9000