Update Traefik configuration to add trusted IPs for forwarded headers and adjust dashboard path matching
This commit is contained in:
parent
2c52ae42cf
commit
f9af0d4b6e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user