From 8fed9509dbda30b84fdcd045a2867e621cd38b02 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 27 Nov 2022 10:15:45 -0600 Subject: [PATCH] test --- internalproxy/templates/switch01.yaml | 2 ++ 1 file changed, 2 insertions(+) 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: |-