Fix documentation for auth_request directive
The correct endpoint is /oauth2/auth
This commit is contained in:
parent
a66f7c50ea
commit
56bf3f8add
@ -350,13 +350,13 @@ server {
|
|||||||
server_name ...;
|
server_name ...;
|
||||||
include ssl/ssl.conf;
|
include ssl/ssl.conf;
|
||||||
|
|
||||||
location = /auth {
|
location = /oauth2/auth {
|
||||||
internal;
|
internal;
|
||||||
proxy_pass http://127.0.0.1:4180;
|
proxy_pass http://127.0.0.1:4180;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
auth_request /auth;
|
auth_request /oauth2/auth;
|
||||||
error_page 401 = ...;
|
error_page 401 = ...;
|
||||||
|
|
||||||
root /path/to/the/site;
|
root /path/to/the/site;
|
||||||
|
Loading…
Reference in New Issue
Block a user