librechat: exempt internal SearXNG from the web-search SSRF guard

This commit is contained in:
inference-admin committed 2026-11-27 20:00:51 +00:00
1 parent 7c3e1ab278
commit 72c4d7997a
1 file changed
+6
+6
View File
@@ -206,6 +206,12 @@ speech:
# KEENABLE_FETCH_URL (internal app, no third party). The instance URL is an # KEENABLE_FETCH_URL (internal app, no third party). The instance URL is an
# env-var reference (real values never live in the YAML). # env-var reference (real values never live in the YAML).
webSearch: webSearch:
# SearXNG is reached on the internal container network, which resolves into
# private address space; LibreChat's SSRF guard blocks that unless the
# destination is explicitly exempted. Keep this host:port in step with
# SEARXNG_INSTANCE_URL (it is the search app's container hostname).
allowedAddresses:
- "01579db7-20c2-4f8c-b4fa-f0b6bec4a3dd:8888"
searchProvider: "searxng" searchProvider: "searxng"
searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}" searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}"
searxngSearchOptions: searxngSearchOptions: