1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00

Merge pull request #272 from semenko/master

Fix documentation for auth_request directive
This commit is contained in:
Jehiah Czebotar 2016-06-27 21:19:00 -04:00 committed by GitHub
commit f9e649456b

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;