mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Add uWSGI die-on-term flag (#3429)
				
					
				
			This commit is contained in:
		
							parent
							
								
									41f415aabf
								
							
						
					
					
						commit
						0e09014df5
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -42,6 +42,10 @@ buffer-size = 8192 | ||||||
| # See https://github.com/searx/searx-docker/issues/24 | # See https://github.com/searx/searx-docker/issues/24 | ||||||
| add-header = Connection: close | add-header = Connection: close | ||||||
| 
 | 
 | ||||||
|  | # Follow SIGTERM convention | ||||||
|  | # See https://github.com/searxng/searxng/issues/3427 | ||||||
|  | die-on-term | ||||||
|  | 
 | ||||||
| # uwsgi serves the static files | # uwsgi serves the static files | ||||||
| static-map = /static=/usr/local/searxng/searx/static | static-map = /static=/usr/local/searxng/searx/static | ||||||
| # expires set to one day | # expires set to one day | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ivan G
						Ivan G