forked from zaclys/searxng
		
	Merge pull request #1620 from nfk/addr_setup
Add addr setup via SEARX_BIND_ADDRESS
This commit is contained in:
		
						commit
						48ccc6c39a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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']
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue