summaryrefslogtreecommitdiff
path: root/searx/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/__init__.py')
-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']