From 68e21b6e74733b801fad6db1f3a2c4365a1d34bf Mon Sep 17 00:00:00 2001 From: Frank_zhu <58329837+Frank-zhu0404@users.noreply.github.com> Date: Sun, 20 Sep 2026 11:14:42 +0800 Subject: [PATCH] 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. --- .env.example | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.env.example b/.env.example index 906c4602..99442b72 100644 --- a/.env.example +++ b/.env.example @@ -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 网页搜索提供者)。