error handle 0.152
This commit is contained in:
@@ -17,6 +17,10 @@ https://ru.homyk.space {
|
||||
file_server
|
||||
}
|
||||
|
||||
handle_errors {
|
||||
@unauth expression {http.error.status_code} == 401
|
||||
redir @unauth / 302
|
||||
}
|
||||
handle {
|
||||
root * /srv/auth
|
||||
file_server {
|
||||
|
||||
Reference in New Issue
Block a user