updates for Evo.Auth
This commit is contained in:
parent
120e9e32f8
commit
6fc1bea012
@ -17,7 +17,13 @@ server {
|
||||
include /etc/nginx/mime.types;
|
||||
|
||||
# AUTHENTICATION
|
||||
error_page 401 /login;
|
||||
error_page 401 @error401;
|
||||
|
||||
location @error401 {
|
||||
add_header Cache-Control 'no-store, no-cache';
|
||||
rewrite ^ /login?uri=$request_uri permanent;
|
||||
}
|
||||
|
||||
|
||||
location = /auth {
|
||||
internal;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user