Refactor Traefik configuration to update backend references and enhance routing rules for dashboard and API

This commit is contained in:
Marco van Zijl 2025-11-08 15:23:40 +01:00
parent 71cb792826
commit 223929de77

View File

@ -20,6 +20,12 @@ traefik:
ports:
websecure:
asDefault: true
traefik:
port: 9000
expose:
default: true
exposedPort: 9000
protocol: TCP
providers:
kubernetesCRD:
@ -65,9 +71,9 @@ traefik:
- "traefik.noxxos.nl"
rules:
- matches:
- path:
type: PathPrefix
value: /
- path: { type: PathPrefix, value: /dashboard }
- path: { type: PathPrefix, value: /api }
backendRefs:
- name: traefik
port: 8080
- group: traefik.io
kind: TraefikService
name: api@internal