fix: valid key header bypasses both IP allowlist and PROXY_SECRET check
Build Admin / Build image (push) Successful in 11s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
vasyanskandClaude Sonnet 5.5 committed 2026-10-24 14:33:32 +07:00
1 parent c144d0967f
commit e84b79dda0
3 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ PROXY_SECRET=
# 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).
# API key header: a request carrying this header bypasses both the IP allowlist and PROXY_SECRET check.
# 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=