From d3ed792526013f04bdb2d4f10f1cafd1fc323a38 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 27 Nov 2022 10:23:42 -0600 Subject: [PATCH] test --- internalproxy/templates/switch01.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/internalproxy/templates/switch01.yaml b/internalproxy/templates/switch01.yaml index f621857..d10b5b6 100644 --- a/internalproxy/templates/switch01.yaml +++ b/internalproxy/templates/switch01.yaml @@ -35,16 +35,16 @@ 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: |- - https://switch01.internal.durp.info/outpost.goauthentik.io/start?rd=$escaped_request_uri - nginx.ingress.kubernetes.io/auth-response-headers: |- - Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid - nginx.ingress.kubernetes.io/auth-snippet: | - proxy_set_header X-Forwarded-Host $http_host; + #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: |- + # https://switch01.internal.durp.info/outpost.goauthentik.io/start?rd=$escaped_request_uri + #nginx.ingress.kubernetes.io/auth-response-headers: |- + # Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid + #nginx.ingress.kubernetes.io/auth-snippet: | + # proxy_set_header X-Forwarded-Host $http_host; spec: rules: - host: switch01.internal.durp.info