15 lines
403 B
Plaintext
15 lines
403 B
Plaintext
|
error_page 401 = /oauth2/sign_in;
|
||
|
location ~ /oauth2/ {
|
||
|
proxy_pass http://127.0.0.1:10031;
|
||
|
include /etc/nginx/proxy.conf;
|
||
|
proxy_set_header X-Auth-Request-Redirect $request_uri;
|
||
|
}
|
||
|
location = /oauth2/auth {
|
||
|
internal;
|
||
|
proxy_pass http://127.0.0.1:10031;
|
||
|
include /etc/nginx/proxy.conf;
|
||
|
proxy_set_header Content-Length "";
|
||
|
proxy_pass_request_body off;
|
||
|
proxy_set_header X-Original-URI $request_uri;
|
||
|
}
|