add internal IP addresses to trusted forwardedHeaders

This commit is contained in:
Lockszmith (runtipi@kateryna) 2024-12-04 21:03:46 -05:00 committed by Lockszmith (@kateryna)
parent b8b33c280f
commit bb6531fc44
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@ providers:
entryPoints: entryPoints:
web: web:
address: ':80' address: ':80'
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "172.16.0.0/12"
http: http:
redirections: redirections:
entryPoint: entryPoint:
@ -21,6 +25,10 @@ entryPoints:
scheme: 'https' scheme: 'https'
websecure: websecure:
address: ':443' address: ':443'
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "172.16.0.0/12"
certificatesResolvers: certificatesResolvers:
httpresolver: httpresolver: