diff options
author | Nicolas Gelot <nicofonk@gmail.com> | 2019-06-17 22:08:35 +0200 |
---|---|---|
committer | Nicolas Gelot <nicofonk@gmail.com> | 2019-06-17 22:42:56 +0200 |
commit | db1dfa4a280b8f886f19619ea01c01687937b5ab (patch) | |
tree | 412ec7a1a052a2b39a3233afec72f5ac63a5564a /searx/__init__.py | |
parent | 8189b0d192224abe9e8ce61747328ebdc34fabb1 (diff) | |
download | searxng-db1dfa4a280b8f886f19619ea01c01687937b5ab.tar.gz searxng-db1dfa4a280b8f886f19619ea01c01687937b5ab.zip |
Add addr setup via SEARX_BIND_ADDRESS
Diffstat (limited to 'searx/__init__.py')
-rw-r--r-- | searx/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/__init__.py b/searx/__init__.py index 4d7b2a8d3..d32fe0066 100644 --- a/searx/__init__.py +++ b/searx/__init__.py @@ -91,3 +91,5 @@ logger.info('Initialisation done') if 'SEARX_SECRET' in environ: settings['server']['secret_key'] = environ['SEARX_SECRET'] +if 'SEARX_BIND_ADDRESS' in environ: + settings['server']['bind_address'] = environ['SEARX_BIND_ADDRESS'] |