summaryrefslogtreecommitdiff
path: root/docs/admin/engines
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-07-27 05:32:57 +0000
committerGitHub <noreply@github.com>2021-07-27 05:32:57 +0000
commitbeff764d7402e6a834f6dbb0a28921fc2577defe (patch)
treed1fd3beb026c1199d60ffc67b9c6e79ddb8f5f80 /docs/admin/engines
parent80f5241387aea1381dd96ed2b91ca62de927ba23 (diff)
parente946c3462c2b44fb154d0b6595f4f42605a326e5 (diff)
downloadsearxng-beff764d7402e6a834f6dbb0a28921fc2577defe.tar.gz
searxng-beff764d7402e6a834f6dbb0a28921fc2577defe.zip
Merge pull request #216 from return42/fix-searx.sh
normalize environment of installation tasks (shell) with YAML settings
Diffstat (limited to 'docs/admin/engines')
-rw-r--r--docs/admin/engines/settings.rst73
1 files changed, 50 insertions, 23 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst
index 7335b9a2a..cab4ee493 100644
--- a/docs/admin/engines/settings.rst
+++ b/docs/admin/engines/settings.rst
@@ -37,15 +37,10 @@ see how you can simplify your *user defined* ``settings.yml``.
Global Settings
===============
-``general:``
-------------
-
-.. code:: yaml
+.. _settings global brand:
- general:
- debug: false # Debug mode, only for development
- instance_name: "searxng" # displayed name
- contact_url: false # mailto:contact@example.com
+``brand:``
+------------
.. code:: yaml
@@ -57,22 +52,47 @@ Global Settings
public_instances: https://searx.space
wiki_url: https://github.com/searxng/searxng/wiki
-``debug`` :
- Allow a more detailed log if you run searx directly. Display *detailed* error
- messages in the browser too, so this must be deactivated in production.
+.. sidebar:: buildenv
-``contact_url``:
- Contact ``mailto:`` address or WEB form.
+ Changing a value tagged by :ref:`buildenv <make buildenv>`, needs to
+ rebuild instance's environment :ref:`utils/brand.env <make buildenv>`.
-``git_url`` and ``git_branch``:
+``git_url`` & ``git_branch`` : :ref:`buildenv GIT_URL & GIT_BRANCH <make buildenv>`
Changes this, to point to your searx fork (branch).
-``docs_url``
- If you host your own documentation, change this URL.
+``issue_url`` :
+ If you host your own issue tracker change this URL.
+
+``docs_url`` :
+ If you host your own documentation change this URL.
-``wiki_url``:
+``public_instances`` :
+ If you host your own https://searx.space change this URL.
+
+``wiki_url`` :
Link to your wiki (or ``false``)
+.. _settings global general:
+
+``general:``
+------------
+
+.. code:: yaml
+
+ general:
+ debug: false # Debug mode, only for development
+ instance_name: "searxng" # displayed name
+ contact_url: false # mailto:contact@example.com
+
+``debug`` : ``$SEARX_DEBUG``
+ Allow a more detailed log if you run searx directly. Display *detailed* error
+ messages in the browser too, so this must be deactivated in production.
+
+``contact_url``:
+ Contact ``mailto:`` address or WEB form.
+
+
+.. _settings global server:
``server:``
-----------
@@ -80,10 +100,10 @@ Global Settings
.. code:: yaml
server:
+ base_url: false # set custom base_url (or false)
port: 8888
bind_address: "127.0.0.1" # address to listen on
secret_key: "ultrasecretkey" # change this!
- base_url: false # set custom base_url (or false)
image_proxy: false # proxying image results through searx
default_locale: "" # default interface locale
default_theme: oscar # ui theme
@@ -94,17 +114,24 @@ Global Settings
X-Robots-Tag : noindex, nofollow
Referrer-Policy : no-referrer
-``port`` & ``bind_address``:
+.. sidebar:: buildenv
+
+ Changing a value tagged by :ref:`buildenv <make buildenv>`, needs to
+ rebuild instance's environment :ref:`utils/brand.env <make buildenv>`.
+
+``base_url`` : :ref:`buildenv SEARX_URL <make buildenv>`
+ The base URL where searx is deployed. Used to create correct inbound links.
+ If you change the value, don't forget to rebuild instance's environment
+ (:ref:`utils/brand.env <make buildenv>`)
+
+``port`` & ``bind_address``: :ref:`buildenv SEARX_PORT & SEARX_BIND_ADDRESS <make buildenv>`
Port number and *bind address* of the searx web application if you run it
directly using ``python searx/webapp.py``. Doesn't apply to searx running on
Apache or Nginx.
-``secret_key`` :
+``secret_key`` : ``$SEARX_SECRET``
Used for cryptography purpose.
-``base_url`` :
- The base URL where searx is deployed. Used to create correct inbound links.
-
``image_proxy`` :
Allow your instance of searx of being able to proxy images. Uses memory space.