config/nginx.auth.conf: fix pass refresh-token

This commit is contained in:
vchikalkin 2024-02-01 10:01:03 +03:00
parent 92b7526700
commit 6273a11b6d

View File

@ -41,7 +41,7 @@ server {
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header refresh-token $refresh_token;
proxy_set_header refresh-token $REFRESH_TOKEN;
proxy_set_header auth-mode $AUTH_MODE;
proxy_intercept_errors on;
}
@ -55,7 +55,6 @@ server {
}
location / {
set $refresh_token $REFRESH_TOKEN;
proxy_pass http://app;
proxy_http_version 1.1;