git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix documentation for auth_request directive
56bf3f8Nick Semenkovich
README.md+2−2
@@ -350,13 +350,13 @@ server {
350 server_name ...;
350 server_name ...;
351 include ssl/ssl.conf;
351 include ssl/ssl.conf;
352
352
353− location = /auth {
353+ location = /oauth2/auth {
354 internal;
354 internal;
355 proxy_pass http://127.0.0.1:4180;
355 proxy_pass http://127.0.0.1:4180;
356 }
356 }
357
357
358 location / {
358 location / {
359− auth_request /auth;
359+ auth_request /oauth2/auth;
360 error_page 401 = ...;
360 error_page 401 = ...;
361
361
362 root /path/to/the/site;
362 root /path/to/the/site;