basic config

This commit is contained in:
2025-07-25 05:42:59 +03:00
parent 23057702ae
commit 59743cf9cc
4 changed files with 13 additions and 16 deletions

View File

@ -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;
}