Skip to content

Commit 85975fb

Browse files
authored
SearXNG fix limiter (#4834)
* fix limiter * apply to existing lxc
1 parent 23e33c5 commit 85975fb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ct/searxng.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function update_script() {
2727
msg_error "No ${APP} Installation Found!"
2828
exit
2929
fi
30+
sed -i 's/^\([[:space:]]*limiter:\)[[:space:]]*true/\1 false/' /etc/searxng/settings.yml
3031
if cd /usr/local/searxng/searxng-src && git pull | grep -q 'Already up to date'; then
3132
msg_ok "There is currently no update available."
3233
fi
@@ -39,4 +40,4 @@ description
3940
msg_ok "Completed Successfully!\n"
4041
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
4142
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
42-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}"
43+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8888${CL}"

install/searxng-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ server:
5454
bind_address: "0.0.0.0"
5555
port: 8888
5656
secret_key: "${SECRET_KEY}"
57-
limiter: true
57+
limiter: false
5858
image_proxy: true
5959
redis:
6060
url: "redis://127.0.0.1:6379/0"

0 commit comments

Comments
 (0)