1
0
mirror of https://github.com/searxng/searxng.git synced 2024-07-02 15:30:42 +02:00

Add addr setup via SEARX_BIND_ADDRESS

This commit is contained in:
Nicolas Gelot 2019-06-17 22:08:35 +02:00
parent 8189b0d192
commit db1dfa4a28

View File

@ -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']