diff options
Diffstat (limited to 'docs/admin')
-rw-r--r-- | docs/admin/index.rst | 2 | ||||
-rw-r--r-- | docs/admin/searx.botdetection.rst | 52 | ||||
-rw-r--r-- | docs/admin/searx.limiter.rst | 17 | ||||
-rw-r--r-- | docs/admin/settings/settings_server.rst | 4 |
4 files changed, 19 insertions, 56 deletions
diff --git a/docs/admin/index.rst b/docs/admin/index.rst index f335f1631..606b51c22 100644 --- a/docs/admin/index.rst +++ b/docs/admin/index.rst @@ -15,7 +15,7 @@ Administrator documentation installation-apache update-searxng answer-captcha - searx.botdetection + searx.limiter api architecture plugins diff --git a/docs/admin/searx.botdetection.rst b/docs/admin/searx.botdetection.rst deleted file mode 100644 index c89f1cd93..000000000 --- a/docs/admin/searx.botdetection.rst +++ /dev/null @@ -1,52 +0,0 @@ -.. _botdetection: - -============= -Bot Detection -============= - -.. contents:: - :depth: 2 - :local: - :backlinks: entry - -.. automodule:: searx.botdetection - :members: - -.. automodule:: searx.botdetection.limiter - :members: - -.. automodule:: searx.botdetection.ip_lists - :members: - - -.. _botdetection rate limit: - -Rate limit -========== - -.. automodule:: searx.botdetection.ip_limit - :members: - -.. automodule:: searx.botdetection.link_token - :members: - - -.. _botdetection probe headers: - -Probe HTTP headers -================== - -.. automodule:: searx.botdetection.http_accept - :members: - -.. automodule:: searx.botdetection.http_accept_encoding - :members: - -.. automodule:: searx.botdetection.http_accept_language - :members: - -.. automodule:: searx.botdetection.http_connection - :members: - -.. automodule:: searx.botdetection.http_user_agent - :members: diff --git a/docs/admin/searx.limiter.rst b/docs/admin/searx.limiter.rst new file mode 100644 index 000000000..c23635571 --- /dev/null +++ b/docs/admin/searx.limiter.rst @@ -0,0 +1,17 @@ +.. _limiter: + +======= +Limiter +======= + +.. sidebar:: info + + The limiter requires a :ref:`Redis <settings redis>` database. + +.. contents:: + :depth: 2 + :local: + :backlinks: entry + +.. automodule:: searx.limiter + :members: diff --git a/docs/admin/settings/settings_server.rst b/docs/admin/settings/settings_server.rst index e2b4cb67d..ba0c9484d 100644 --- a/docs/admin/settings/settings_server.rst +++ b/docs/admin/settings/settings_server.rst @@ -36,11 +36,9 @@ ``secret_key`` : ``$SEARXNG_SECRET`` Used for cryptography purpose. -.. _limiter: - ``limiter`` : Rate limit the number of request on the instance, block some bots. The - :ref:`limiter src` requires a :ref:`settings redis` database. + :ref:`limiter` requires a :ref:`settings redis` database. .. _image_proxy: |