Fix documentation for auth_request directive
The correct endpoint is /oauth2/auth
commit56bf3f8add8ba9afb7a683a3cb915696bc861daa
authorNick Semenkovich <nick@semenkovich.com>
dateMon 27 Jun 2016, 20:10 (10 years ago)
parenta66f7c5
README.md+2−2
@@ -350,13 +350,13 @@ server {
350350 server_name ...;
351351 include ssl/ssl.conf;
352352
353− location = /auth {
353+ location = /oauth2/auth {
354354 internal;
355355 proxy_pass http://127.0.0.1:4180;
356356 }
357357
358358 location / {
359− auth_request /auth;
359+ auth_request /oauth2/auth;
360360 error_page 401 = ...;
361361
362362 root /path/to/the/site;