Add env ALLOW_ANY_HOST to skip host check (#16351)

This commit is contained in:
Wang Qi
2026-06-25 17:17:02 +08:00
committed by GitHub
parent 6e7aa75e71
commit 97c519662a
3 changed files with 34 additions and 0 deletions

View File

@@ -161,6 +161,10 @@ GO_ADMIN_PORT=9383
# API_PROXY_SCHEME=hybrid # go and python hybrid deploy mode
API_PROXY_SCHEME=python # use pure python server deployment
# Development-only: set to 1 to bypass host safety checks for test_db_connection and allow private/local database hosts.
# Do not enable in production.
ALLOW_ANY_HOST=0
# The RAGFlow Docker image to download. v0.22+ doesn't include embedding models.
RAGFLOW_IMAGE=infiniflow/ragflow:v0.26.1