website/docs: update nginx ingress docs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#2235
This commit is contained in:
Jens Langhammer 2022-02-12 18:06:04 +01:00
parent 0da043a9fe
commit b3987c5fa0

View file

@ -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;
```