| 
				
			 | 
			
			
				@@ -366,6 +366,7 @@ function install_koel_main { 
			 | 
		
	
		
			
			| 
				366
			 | 
			
				366
			 | 
			
			
				         echo '' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				367
			 | 
			
				367
			 | 
			
			
				         function_check nginx_compress 
			 | 
		
	
		
			
			| 
				368
			 | 
			
				368
			 | 
			
			
				         nginx_compress $KOEL_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				
			 | 
			
				369
			 | 
			
			
				+        echo '  gzip_comp_level 9;' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				369
			 | 
			
				370
			 | 
			
			
				         echo '' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				370
			 | 
			
				371
			 | 
			
			
				         echo '  # Security' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				371
			 | 
			
				372
			 | 
			
			
				         function_check nginx_ssl 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -429,6 +430,7 @@ function install_koel_main { 
			 | 
		
	
		
			
			| 
				429
			 | 
			
				430
			 | 
			
			
				     echo '' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				430
			 | 
			
				431
			 | 
			
			
				     function_check nginx_compress 
			 | 
		
	
		
			
			| 
				431
			 | 
			
				432
			 | 
			
			
				     nginx_compress $KOEL_DOMAIN_NAME 
			 | 
		
	
		
			
			| 
				
			 | 
			
				433
			 | 
			
			
				+    echo '  gzip_comp_level 9;' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				432
			 | 
			
				434
			 | 
			
			
				     echo '' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				433
			 | 
			
				435
			 | 
			
			
				     echo '  # Logs' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				434
			 | 
			
				436
			 | 
			
			
				     echo '  access_log /dev/null;' >> $koel_nginx_site 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -475,6 +477,8 @@ function install_koel_main { 
			 | 
		
	
		
			
			| 
				475
			 | 
			
				477
			 | 
			
			
				     echo '' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				476
			 | 
			
				478
			 | 
			
			
				     echo '}' >> $koel_nginx_site 
			 | 
		
	
		
			
			| 
				477
			 | 
			
				479
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				480
			 | 
			
			
				+    sed -i 's|gzip_types.*|gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;|g' $koel_nginx_site 
			 | 
		
	
		
			
			| 
				
			 | 
			
				481
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				478
			 | 
			
				482
			 | 
			
			
				     function_check configure_php 
			 | 
		
	
		
			
			| 
				479
			 | 
			
				483
			 | 
			
			
				     configure_php 
			 | 
		
	
		
			
			| 
				480
			 | 
			
				484
			 | 
			
			
				  
			 |