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