fix(llm-gateway): add NODE_TLS_REJECT_UNAUTHORIZED for proxy upstream

The Anthropic/OpenAI upstream proxy uses a self-signed certificate.
Disable TLS verification in the gateway container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-25 23:22:26 -08:00
parent 0114e9896d
commit 247ecd6c86
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ services:
OPENAI_UPSTREAM_URL: ${OPENAI_BASE_URL:-https://api.openai.com} OPENAI_UPSTREAM_URL: ${OPENAI_BASE_URL:-https://api.openai.com}
RULES_CACHE_TTL_MS: 30000 RULES_CACHE_TTL_MS: 30000
LOG_LEVEL: info LOG_LEVEL: info
NODE_TLS_REJECT_UNAUTHORIZED: "0"
ports: ports:
- "3008:3008" - "3008:3008"
healthcheck: healthcheck: