mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-03-25 22:00:56 +02:00
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 ...;
|
||||
include ssl/ssl.conf;
|
||||
|
||||
location = /auth {
|
||||
location = /oauth2/auth {
|
||||
internal;
|
||||
proxy_pass http://127.0.0.1:4180;
|
||||
}
|
||||
|
||||
location / {
|
||||
auth_request /auth;
|
||||
auth_request /oauth2/auth;
|
||||
error_page 401 = ...;
|
||||
|
||||
root /path/to/the/site;
|
||||
|
Loading…
x
Reference in New Issue
Block a user