feat: add header key auth as alternative to IP allowlist
Build Admin / Build image (push) Successful in 43s

This commit is contained in:
vasyansk committed 2026-10-24 14:20:52 +07:00
1 parent 1a4ad47c77
commit c144d0967f
4 files changed
+48 -7

No files matched your search

+6
View File
@@ -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=