config/nginx.auth.conf: pass Authorization from auth_request
This commit is contained in:
parent
5652f58b17
commit
d5ae4e5734
@ -69,6 +69,8 @@ server {
|
||||
auth_request /auth;
|
||||
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
||||
add_header Set-Cookie $auth_cookie;
|
||||
auth_request_set $Authorization $upstream_http_Authorization;
|
||||
proxy_set_header Authorization $Authorization;
|
||||
}
|
||||
|
||||
location = /health {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user