diff --git a/internalproxy/templates/switch01.yaml b/internalproxy/templates/switch01.yaml index 2bafcfc..f621857 100644 --- a/internalproxy/templates/switch01.yaml +++ b/internalproxy/templates/switch01.yaml @@ -35,6 +35,8 @@ metadata: kubernetes.io/ingress.class: nginx cert-manager.io/cluster-issuer: letsencrypt-production nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.0.0/16" + nginx.ingress.kubernetes.io/configuration-snippet: | + more_set_headers "X-Forwarded-For $http_x_forwarded_for"; nginx.ingress.kubernetes.io/auth-url: |- http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx nginx.ingress.kubernetes.io/auth-signin: |-