Fix documentation for auth_request directive

The correct endpoint is /oauth2/auth
This commit is contained in:
Nick Semenkovich 2016-06-27 20:10:22 -05:00 committed by GitHub
parent a66f7c50ea
commit 56bf3f8add

View File

@ -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;