traefik trustedIps

This commit is contained in:
krisz 2025-01-12 21:09:11 +01:00
parent df9014f1e3
commit e5d3516fdc

View File

@ -105,7 +105,7 @@ services:
- --entrypoints.http.http.redirections.entryPoint.scheme=https - --entrypoints.http.http.redirections.entryPoint.scheme=https
# Create an entrypoint "https" listening on port 443 # Create an entrypoint "https" listening on port 443
- --entrypoints.https.address=:443 - --entrypoints.https.address=:443
- --entryPoints.https.proxyProtocol.trustedIPs=10.0.0.2 - --entryPoints.https.proxyProtocol.trustedIPs=10.0.0.0/24,172.35.0.0/24
- --entrypoints.https.http.encodequerysemicolons=true - --entrypoints.https.http.encodequerysemicolons=true
# dynamic config # dynamic config
- --providers.file.directory=/etc/traefik/dynamic_conf - --providers.file.directory=/etc/traefik/dynamic_conf