summaryrefslogtreecommitdiff
path: root/docs/admin
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-03 18:48:23 +0200
committerGitHub <noreply@github.com>2021-10-03 18:48:23 +0200
commit9da9dbcbb45bd41948789529a3bd5e32da6cb62f (patch)
treec52ae4a1d47140d5e531e78b7fbc11e0a354c7ec /docs/admin
parente39a03cc61e9792afb34084fb4d9973a61deecea (diff)
parent253b8503765b6f0d21135254277e72d17a51e04a (diff)
Merge pull request #373 from dalf/searxng-environ
SearXNG: environment variables
Diffstat (limited to 'docs/admin')
-rw-r--r--docs/admin/engines/settings.rst8
-rw-r--r--docs/admin/installation-searx.rst2
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst
index 459b4b46c..6a3256357 100644
--- a/docs/admin/engines/settings.rst
+++ b/docs/admin/engines/settings.rst
@@ -24,7 +24,7 @@ settings.yml location
The initial ``settings.yml`` we be load from these locations:
-1. the full path specified in the ``SEARX_SETTINGS_PATH`` environment variable.
+1. the full path specified in the ``SEARXNG_SETTINGS_PATH`` environment variable.
2. ``/etc/searx/settings.yml``
If these files don't exist (or are empty or can't be read), SearXNG uses the
@@ -74,7 +74,7 @@ Global Settings
instance_name: "SearXNG" # displayed name
contact_url: false # mailto:contact@example.com
-``debug`` : ``$SEARX_DEBUG``
+``debug`` : ``$SEARXNG_DEBUG``
Allow a more detailed log if you run SearXNG directly. Display *detailed* error
messages in the browser too, so this must be deactivated in production.
@@ -114,12 +114,12 @@ Global Settings
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`` & ``bind_address``: :ref:`buildenv SEARXNG_PORT & SEARXNG_BIND_ADDRESS <make buildenv>`
Port number and *bind address* of the SearXNG web application if you run it
directly using ``python searx/webapp.py``. Doesn't apply to SearXNG running on
Apache or Nginx.
-``secret_key`` : ``$SEARX_SECRET``
+``secret_key`` : ``$SEARXNG_SECRET``
Used for cryptography purpose.
``image_proxy`` :
diff --git a/docs/admin/installation-searx.rst b/docs/admin/installation-searx.rst
index 9e9157b86..cb3cf9f05 100644
--- a/docs/admin/installation-searx.rst
+++ b/docs/admin/installation-searx.rst
@@ -107,7 +107,7 @@ Check
=====
To check your SearXNG setup, optional enable debugging and start the *webapp*.
-SearXNG looks at the exported environment ``$SEARX_SETTINGS_PATH`` for a
+SearXNG looks at the exported environment ``$SEARXNG_SETTINGS_PATH`` for a
configuration file.
.. kernel-include:: $DOCS_BUILD/includes/searx.rst