Refactor Traefik configuration to update backend references and enhance routing rules for dashboard and API
This commit is contained in:
parent
71cb792826
commit
223929de77
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user