17 lines
		
	
	
		
			426 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			426 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| # see: https://serverfault.com/questions/858067/unknown-directive-stream-in-etc-nginx-nginx-conf86
 | |
| 
 | |
| 
 | |
| # Answer 21
 | |
| 
 | |
| The stream module is being added as dynamic, as per:
 | |
| 
 | |
| --with-stream=dynamic
 | |
| 
 | |
| # You need it to be 'static' - so load the module directly. To do so, add the 
 | |
| # following at the very top of your nginx.conf:
 | |
| #           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | |
| # 
 | |
| load_module /usr/lib/nginx/modules/ngx_stream_module.so;
 | |
| 
 |