feat: add header key auth as alternative to IP allowlist
Build Admin / Build image (push) Successful in 43s
Build Admin / Build image (push) Successful in 43s
This commit is contained in:
4 files changed
+48
-7
No files matched your search
@@ -12,3 +12,9 @@ PROXY_SECRET=
|
||||
# Allowed source CIDRs (comma-separated), leave empty to allow all (dev mode)
|
||||
# Example: "10.0.0.0/8,172.16.0.0/12"
|
||||
ALLOWED_CIDR=
|
||||
|
||||
# API key header: a request carrying this header bypasses the IP allowlist (IP OR key).
|
||||
# Set both or neither. Name: [A-Za-z0-9-], value: [A-Za-z0-9._~+/=-]. Only matters if ALLOWED_CIDR is set.
|
||||
# Generate value with: openssl rand -hex 32
|
||||
AUTH_HEADER_NAME=
|
||||
AUTH_HEADER_VALUE=
|
||||
Reference in new issue
Block a user