1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00

Merge pull request #1620 from nfk/addr_setup

Add addr setup via SEARX_BIND_ADDRESS
This commit is contained in:
Noémi Ványi 2019-06-24 22:56:45 +02:00 committed by GitHub
commit 48ccc6c39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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