feat(ssrf_proxy): Support DEV_MODE

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN-
2025-09-01 14:58:49 +08:00
parent b7c87245a3
commit 5ea168f03b
8 changed files with 75 additions and 102 deletions

View File

@ -64,6 +64,10 @@ SSRF_HTTP_PORT=3128
SSRF_COREDUMP_DIR=/var/spool/squid
SSRF_REVERSE_PROXY_PORT=8194
SSRF_SANDBOX_HOST=sandbox
# Development mode switch - set to true to disable all SSRF protections
# WARNING: This allows access to localhost, private networks, and all ports!
# Only use this in development environments, NEVER in production!
SSRF_PROXY_DEV_MODE=false
# ------------------------------
# Environment Variables for weaviate Service