diff options
| author | Alexandre Flament <alex@al-f.net> | 2023-01-29 20:48:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-29 20:48:43 +0100 |
| commit | 9d102fb08ff4a7dc04d093561adde60436e3f69e (patch) | |
| tree | 6df4803a3f1ff0433c0f6c3344ea9133704c6f41 /docs/admin/engines | |
| parent | 4f808088f146b5f2c21b219d57d7bff885d8b9c2 (diff) | |
| parent | 031162be0471650c09c25954b5251d06d8c042e1 (diff) | |
Merge pull request #2132 from dalf/update_pr_1967
search.suspended_time settings: bug fixes
Diffstat (limited to 'docs/admin/engines')
| -rw-r--r-- | docs/admin/engines/settings.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index c747e3f43..97f5ef63e 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -110,6 +110,13 @@ Global Settings default_lang: "" ban_time_on_fail: 5 max_ban_time_on_fail: 120 + suspended_times: + SearxEngineAccessDenied: 86400 + SearxEngineCaptcha: 86400 + SearxEngineTooManyRequests: 3600 + cf_SearxEngineCaptcha: 1296000 + cf_SearxEngineAccessDenied: 86400 + recaptcha_SearxEngineCaptcha: 604800 formats: - html @@ -159,6 +166,25 @@ Global Settings ``max_ban_time_on_fail``: Max ban time in seconds after engine errors. +``suspended_times``: + Engine suspension time after error (in seconds; set to 0 to disable) + + ``SearxEngineAccessDenied``: 86400 + For error "Access denied" and "HTTP error [402, 403]" + + ``SearxEngineCaptcha``: 86400 + For error "CAPTCHA" + + ``SearxEngineTooManyRequests``: 3600 + For error "Too many request" and "HTTP error 429" + + Cloudflare CAPTCHA: + - ``cf_SearxEngineCaptcha``: 1296000 + - ``cf_SearxEngineAccessDenied``: 86400 + + Google CAPTCHA: + - ``recaptcha_SearxEngineCaptcha``: 604800 + ``formats``: Result formats available from web, remove format to deny access (use lower case). @@ -168,6 +194,7 @@ Global Settings - ``json`` - ``rss`` + .. _settings server: ``server:`` |