Update Traefik configuration to add trusted IPs for forwarded headers and adjust dashboard path matching

This commit is contained in:
Marco van Zijl 2025-11-08 16:00:34 +01:00
parent 2c52ae42cf
commit f9af0d4b6e

View File

@ -7,7 +7,9 @@ traefik:
installCRDs: true
# Enable API (required for dashboard)
additionalArguments:
- "--entrypoints.web.forwardedHeaders.trustedIPs=192.168.1.2/32"
api:
dashboard: true
insecure: true
@ -61,7 +63,7 @@ traefik:
- "traefik.noxxos.nl"
rules:
- matches:
- path: { type: PathPrefix, value: /dashboard }
- path: { type: PathPrefix, value: /dashboard/ }
- path: { type: PathPrefix, value: /api }
backendRefs:
- group: traefik.io