fix(security): 私有上游 - 支持精确主机白名单

This commit is contained in:
Hao OUYANG
2026-07-22 21:25:41 +08:00
parent 785d024741
commit cb803c9391
8 changed files with 52 additions and 3 deletions

View File

@@ -105,6 +105,7 @@ DATABASE_URL=postgresql://open_ai_canvas:${database_password}@postgres:5432/open
CANVAS_HTTP_PORT=${CANVAS_HTTP_PORT}
CANVAS_REGISTRATION_ENABLED=false
CANVAS_ALLOW_PRIVATE_UPSTREAMS=false
CANVAS_ALLOWED_PRIVATE_UPSTREAM_HOSTS=
CANVAS_CORS_ORIGINS=
EOF
}