mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-17 11:55:38 +02:00
Co-authored-by: Sven Ertel <sven.ertel@bayernwerk.de>
This commit is contained in:
co-authored by
Sven Ertel
parent
bc022fbfd1
commit
5ba54df3e7
@@ -370,7 +370,7 @@ server {
|
||||
|
||||
location / {
|
||||
auth_request /oauth2/auth;
|
||||
error_page 401 = /oauth2/sign_in;
|
||||
error_page 401 =403 /oauth2/sign_in;
|
||||
|
||||
# pass information via X-User and X-Email headers to backend,
|
||||
# requires running with --set-xauthrequest flag
|
||||
|
||||
Reference in New Issue
Block a user