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
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user