Skip to content

Commit b7cc529

Browse files
committed
try these header definitions
1 parent 861be7f commit b7cc529

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kubernetes/cluster-0/apps/selfhosted/paperless/app/helmrelease.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ spec:
120120
external-dns.alpha.kubernetes.io/target: internal.holthome.net
121121
nginx.ingress.kubernetes.io/auth-url: "https://auth.holthome.net/oauth2/auth"
122122
nginx.ingress.kubernetes.io/auth-signin: "https://auth.holthome.net/oauth2/start?rd=$escaped_request_uri"
123+
nginx.ingress.kubernetes.io/auth-response-headers: "X-Auth-Request-User"
124+
nginx.ingress.kubernetes.io/configuration-snippet: |
125+
auth_request_set $user $upstream_http_x_auth_request_user;
126+
proxy_set_header remote-user $user;
123127
hosts:
124128
- host: paperless.holthome.net
125129
paths:

0 commit comments

Comments
 (0)