From 85975fbe15403320222f1764344442d41e9926b7 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 29 May 2025 21:35:54 +0200 Subject: [PATCH] SearXNG fix limiter (#4834) * fix limiter * apply to existing lxc --- ct/searxng.sh | 3 ++- install/searxng-install.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ct/searxng.sh b/ct/searxng.sh index 4289c9e4b..7d9df8d60 100644 --- a/ct/searxng.sh +++ b/ct/searxng.sh @@ -27,6 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + sed -i 's/^\([[:space:]]*limiter:\)[[:space:]]*true/\1 false/' /etc/searxng/settings.yml if cd /usr/local/searxng/searxng-src && git pull | grep -q 'Already up to date'; then msg_ok "There is currently no update available." fi @@ -39,4 +40,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}" diff --git a/install/searxng-install.sh b/install/searxng-install.sh index e58fee3b8..0d955cb20 100644 --- a/install/searxng-install.sh +++ b/install/searxng-install.sh @@ -54,7 +54,7 @@ server: bind_address: "0.0.0.0" port: 8888 secret_key: "${SECRET_KEY}" - limiter: true + limiter: false image_proxy: true redis: url: "redis://127.0.0.1:6379/0"