From 9606440d5bbc870759bcd6859cbb5a5c8119a5a7 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sun, 13 Oct 2024 16:52:05 +0200 Subject: [PATCH] configure traefik to use PROXY protocol --- traefik/base/002-traefik.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/traefik/base/002-traefik.yaml b/traefik/base/002-traefik.yaml index a19b01e..02acaac 100644 --- a/traefik/base/002-traefik.yaml +++ b/traefik/base/002-traefik.yaml @@ -23,7 +23,9 @@ spec: - --api.insecure - --providers.kubernetesingress - --entryPoints.web.Address=:80 + - --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.websecure.Address=:443 + - --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.traefik.Address=:8080 - --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service - --providers.kubernetescrd