config/nginx.auth.conf: fix pass refresh-token
This commit is contained in:
parent
92b7526700
commit
6273a11b6d
@ -41,7 +41,7 @@ server {
|
|||||||
|
|
||||||
proxy_pass_request_body off;
|
proxy_pass_request_body off;
|
||||||
proxy_set_header Content-Length "";
|
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_set_header auth-mode $AUTH_MODE;
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
}
|
}
|
||||||
@ -55,7 +55,6 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $refresh_token $REFRESH_TOKEN;
|
|
||||||
proxy_pass http://app;
|
proxy_pass http://app;
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user