From db1dfa4a280b8f886f19619ea01c01687937b5ab Mon Sep 17 00:00:00 2001 From: Nicolas Gelot Date: Mon, 17 Jun 2019 22:08:35 +0200 Subject: [PATCH] Add addr setup via SEARX_BIND_ADDRESS --- searx/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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']