mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-20 12:51:17 +00:00
Document auto-renewal
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3db354abc8
commit
8b383f473f
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ server {
|
||||||
#auth_request_set $username $upstream_http_x_username;
|
#auth_request_set $username $upstream_http_x_username;
|
||||||
#proxy_set_header X-User $username;
|
#proxy_set_header X-User $username;
|
||||||
|
|
||||||
|
# Automatically renew SSO cookie on request
|
||||||
|
auth_request_set $cookie $upstream_http_set_cookie;
|
||||||
|
add_header Set-Cookie $cookie;
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:1720/;
|
proxy_pass http://127.0.0.1:1720/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue