docs(env): warn against SEARXNG_PORT colliding with APP_PORT (#3385)

Document that binding SearXNG to the same port as the app can make
localhost hit SearXNG's HTML 404 on login. Docs-only; no runtime change.
main
Frank_zhu 2026-09-20 11:14:42 +08:00 committed by GitHub
parent bcfb6dfc12
commit 68e21b6e74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -636,6 +636,12 @@ WEKNORA_SANDBOX_DOCKER_ENABLED=false
# 端口默认仅监听 127.0.0.1,避免把开了 limiter:false 的实例暴露到 LAN。
# 如需对内网开放,显式覆盖 SEARXNG_BIND=0.0.0.0 并自行加固。
# SEARXNG_PORT=8888
# Do not set SEARXNG_PORT to the same value as APP_PORT (default 8080).
# On Linux, binding SearXNG to 127.0.0.1:8080 while the app also publishes
# :8080 makes localhost:8080 hit SearXNG first — POST /api/v1/auth/login
# then returns SearXNG's HTML 404 even though DISABLE_REGISTRATION only
# closes registration (see discussion on issue #3296). Keep SearXNG on 8888
# (or another free port).
# SEARXNG_BIND=127.0.0.1
# SEARXNG_SECRET=
# Tavily Search API Key(可选,启用 Tavily 网页搜索提供者)。