diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-10-02 18:29:58 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-11-01 06:44:56 +0100 |
commit | d13a8f64534b2ba7883cabdae1d08ea68b7899c8 (patch) | |
tree | fa9148bf302c9b0af9352c7813ff19c9cb09b026 /docs | |
parent | fd814aac863673047c46a9d80682415dae180969 (diff) | |
download | searxng-d13a8f64534b2ba7883cabdae1d08ea68b7899c8.tar.gz searxng-d13a8f64534b2ba7883cabdae1d08ea68b7899c8.zip |
[mod] document server:public_instance & remove it out of the botdetection
- the option server:public_instance lacks some documentation
- the processing of this option belongs in the limiter and not
in botdetection module
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/settings/settings_server.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/admin/settings/settings_server.rst b/docs/admin/settings/settings_server.rst index ba0c9484d..e4e66ee2f 100644 --- a/docs/admin/settings/settings_server.rst +++ b/docs/admin/settings/settings_server.rst @@ -12,6 +12,7 @@ bind_address: "127.0.0.1" secret_key: "ultrasecretkey" # change this! limiter: false + public_instance: false image_proxy: false default_http_headers: X-Content-Type-Options : nosniff @@ -20,7 +21,6 @@ X-Robots-Tag : noindex, nofollow Referrer-Policy : no-referrer - ``base_url`` : ``$SEARXNG_URL`` :ref:`buildenv <make buildenv>` The base URL where SearXNG is deployed. Used to create correct inbound links. If you change the value, don't forget to rebuild instance's environment @@ -40,6 +40,16 @@ Rate limit the number of request on the instance, block some bots. The :ref:`limiter` requires a :ref:`settings redis` database. +.. _public_instance: + +``public_instance`` : + + Setting that allows to enable features specifically for public instances (not + needed for local usage). By set to ``true`` the following features are + activated: + + - :py:obj:`searx.botdetection.link_token` in the :ref:`limiter` + .. _image_proxy: ``image_proxy`` : |