summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-06-24 23:10:22 +0200
committerGitHub <noreply@github.com>2019-06-24 23:10:22 +0200
commit1e30f19800dc80ed4484b1a10c46afc26089635c (patch)
tree894b0b320a54d9f55a0c34a35b8229c96df0dc6f
parent697102af78043496bffa3cf2f4628703c250328f (diff)
parent48ccc6c39a9872fc0bc4043c0070ba23cf99724b (diff)
downloadsearxng-1e30f19800dc80ed4484b1a10c46afc26089635c.tar.gz
searxng-1e30f19800dc80ed4484b1a10c46afc26089635c.zip
Merge branch 'master' into feature/fix-config
-rw-r--r--searx/__init__.py2
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']