librechat: exempt internal SearXNG from the web-search SSRF guard
This commit is contained in:
1 parent
7c3e1ab278
commit
72c4d7997a
1 file changed
+6
@@ -206,6 +206,12 @@ speech:
|
||||
# KEENABLE_FETCH_URL (internal app, no third party). The instance URL is an
|
||||
# env-var reference (real values never live in the YAML).
|
||||
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"
|
||||
searxngInstanceUrl: "${SEARXNG_INSTANCE_URL}"
|
||||
searxngSearchOptions:
|
||||
|
||||
Reference in new issue
Block a user