From c98e4196bd27eb901e27f7b435cc964aa74a8a8c Mon Sep 17 00:00:00 2001 From: CuBiC Date: Sun, 23 May 2021 22:49:31 +0200 Subject: [PATCH] website/docs: ingress nginx auth headers (#916) Extend example how to pass through auth headers from authentik if using ingress nginx as forward auth. --- website/docs/outposts/proxy.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/outposts/proxy.mdx b/website/docs/outposts/proxy.mdx index 08e04504a..e12ca02a4 100644 --- a/website/docs/outposts/proxy.mdx +++ b/website/docs/outposts/proxy.mdx @@ -90,6 +90,7 @@ metadata: annotations: nginx.ingress.kubernetes.io/auth-url: http://*external host that you configured in authentik*:4180/akprox/auth?nginx nginx.ingress.kubernetes.io/auth-signin: http://*external host that you configured in authentik*:4180/akprox/start?rd=$escaped_request_uri + nginx.ingress.kubernetes.io/auth-response-headers: X-Auth-Username,X-Forwarded-Email,X-Forwarded-Preferred-Username,X-Forwarded-User nginx.ingress.kubernetes.io/auth-snippet: | proxy_set_header X-Forwarded-Host $http_host; ```