configure traefik to use PROXY protocol

This commit is contained in:
Mans Ziesel 2024-10-13 16:52:05 +02:00
parent c9e0be4fcb
commit 9606440d5b

View File

@ -23,7 +23,9 @@ spec:
- --api.insecure - --api.insecure
- --providers.kubernetesingress - --providers.kubernetesingress
- --entryPoints.web.Address=:80 - --entryPoints.web.Address=:80
- --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
- --entryPoints.websecure.Address=:443 - --entryPoints.websecure.Address=:443
- --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
- --entryPoints.traefik.Address=:8080 - --entryPoints.traefik.Address=:8080
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service - --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service
- --providers.kubernetescrd - --providers.kubernetescrd