basic config
This commit is contained in:
@ -22,6 +22,9 @@ server {
|
||||
if ($arg_secret = "CHANGE-ME-INSECURE-PASSWORD") {
|
||||
set $allow 1;
|
||||
}
|
||||
if ($http_x_secret = "CHANGE-ME-INSECURE-PASSWORD") {
|
||||
set $allow 1;
|
||||
}
|
||||
if ($allow = 0) {
|
||||
return 403;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user