Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e266eca authored by Alexandre Flament's avatar Alexandre Flament
Browse files

SearXNG: SEARX_BIND_ADDRESS

parent 6443ed75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ News
- Docker image updates
- Bang expression fixes
- Result merging fixes
- New environment variable added: SEARX_BIND_ADDRESS
- New environment variable added: SEARXNG_BIND_ADDRESS


News
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ 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 SEARXNG_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.
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ from the YAML configuration:

- ``SEARX_URL`` from :ref:`server.base_url <settings global server>` (aka
  ``PUBLIC_URL``)
- ``SEARX_BIND_ADDRESS`` from :ref:`server.bind_address <settings global server>`
- ``SEARXNG_BIND_ADDRESS`` from :ref:`server.bind_address <settings global server>`
- ``SEARXNG_PORT`` from :ref:`server.port <settings global server>`

.. _make run:
+1 −1
Original line number Diff line number Diff line
export SEARX_URL=''
export SEARXNG_PORT='8888'
export SEARX_BIND_ADDRESS='127.0.0.1'
export SEARXNG_BIND_ADDRESS='127.0.0.1'
export GIT_URL='https://github.com/searxng/searxng'
export GIT_BRANCH='master'
+2 −2
Original line number Diff line number Diff line
@@ -30,14 +30,14 @@ name_val = [

    ('SEARX_URL'              , 'server.base_url'),
    ('SEARXNG_PORT'             , 'server.port'),
    ('SEARX_BIND_ADDRESS'     , 'server.bind_address'),
    ('SEARXNG_BIND_ADDRESS'     , 'server.bind_address'),

]

brand_env = 'utils' + sep + 'brand.env'

# Some defaults in the settings.yml are taken from the environment,
# e.g. SEARX_BIND_ADDRESS (:py:obj:`searx.settings_defaults.SHEMA`).  When the
# e.g. SEARXNG_BIND_ADDRESS (:py:obj:`searx.settings_defaults.SHEMA`).  When the
# 'brand.env' file is created these enviroment variables should be unset first::

_unset = object()
Loading