From b3987c5fa06f17bca4b1e66af308bb3a5790e070 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 12 Feb 2022 18:06:04 +0100 Subject: [PATCH] website/docs: update nginx ingress docs Signed-off-by: Jens Langhammer #2235 --- website/docs/providers/proxy/_nginx_ingress.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/website/docs/providers/proxy/_nginx_ingress.md b/website/docs/providers/proxy/_nginx_ingress.md index 41f4475f5..807f32c95 100644 --- a/website/docs/providers/proxy/_nginx_ingress.md +++ b/website/docs/providers/proxy/_nginx_ingress.md @@ -25,12 +25,10 @@ Add these annotations to the ingress you want to protect ```yaml metadata: annotations: - nginx.ingress.kubernetes.io/auth-url: | - https://outpost.company/akprox/auth/nginx - nginx.ingress.kubernetes.io/auth-signin: | - https://outpost.company/akprox/start?rd=$escaped_request_uri - nginx.ingress.kubernetes.io/auth-response-headers: | + nginx.ingress.kubernetes.io/auth-url: |- + http://outpost.company:9000/akprox/auth/nginx + nginx.ingress.kubernetes.io/auth-signin: |- + https://app.company/akprox/start + 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 Host $http_host; ```