feat: update SearxNG settings for enhanced search engine management

- Removed specific engines (ahmia, torch, qwant, mojeek) from default settings.
- Added new configuration options for search engine failure handling, including ban times and retries.
- Introduced additional search engines (bing, yahoo, stackoverflow) with retry logic for HTTP errors.
- Updated request timeout settings for outgoing requests to improve performance.
This commit is contained in:
Anish Sarkar 2026-03-17 04:27:36 +05:30
parent 651d381bcb
commit 543fe45540

View file

@ -1,4 +1,10 @@
use_default_settings: true
use_default_settings:
engines:
remove:
- ahmia
- torch
- qwant
- mojeek
server:
secret_key: "override-me-via-env"
@ -15,33 +21,61 @@ search:
default_lang: "auto"
autocomplete: ""
safe_search: 0
ban_time_on_fail: 5
max_ban_time_on_fail: 120
suspended_times:
SearxEngineAccessDenied: 3600
SearxEngineCaptcha: 3600
SearxEngineTooManyRequests: 600
cf_SearxEngineCaptcha: 7200
cf_SearxEngineAccessDenied: 3600
recaptcha_SearxEngineCaptcha: 7200
ui:
static_use_hash: true
outgoing:
request_timeout: 12.0
max_request_timeout: 20.0
pool_connections: 100
pool_maxsize: 20
enable_http2: true
extra_proxy_timeout: 10.0
retries: 1
# Uncomment and set your residential proxy URL to route search engine requests through it.
# Format: http://<username>:<base64_password>@<hostname>:<port>/
#
# proxies:
# all://:
# - http://user:pass@proxy-host:port/
engines:
- name: google
disabled: false
weight: 1.2
retry_on_http_error: [429, 503]
- name: duckduckgo
disabled: false
weight: 1.1
retry_on_http_error: [429, 503]
- name: brave
disabled: false
weight: 1.0
- name: qwant
disabled: true
- name: mojeek
disabled: true
retry_on_http_error: [429, 503]
- name: bing
disabled: false
weight: 0.9
retry_on_http_error: [429, 503]
- name: wikipedia
disabled: false
weight: 0.8
- name: stackoverflow
disabled: false
weight: 0.7
- name: yahoo
disabled: false
weight: 0.7
retry_on_http_error: [429, 503]
- name: wikidata
disabled: false
weight: 0.6
@ -49,10 +83,3 @@ engines:
disabled: false
- name: ddg definitions
disabled: false
- name: stackoverflow
disabled: false
weight: 0.7
- name: bing
disabled: true
- name: yahoo
disabled: true