|
|
|
|
366
|
echo '' >> $koel_nginx_site
|
366
|
echo '' >> $koel_nginx_site
|
367
|
function_check nginx_compress
|
367
|
function_check nginx_compress
|
368
|
nginx_compress $KOEL_DOMAIN_NAME
|
368
|
nginx_compress $KOEL_DOMAIN_NAME
|
|
|
369
|
+ echo ' gzip_comp_level 9;' >> $koel_nginx_site
|
369
|
echo '' >> $koel_nginx_site
|
370
|
echo '' >> $koel_nginx_site
|
370
|
echo ' # Security' >> $koel_nginx_site
|
371
|
echo ' # Security' >> $koel_nginx_site
|
371
|
function_check nginx_ssl
|
372
|
function_check nginx_ssl
|
|
|
|
|
429
|
echo '' >> $koel_nginx_site
|
430
|
echo '' >> $koel_nginx_site
|
430
|
function_check nginx_compress
|
431
|
function_check nginx_compress
|
431
|
nginx_compress $KOEL_DOMAIN_NAME
|
432
|
nginx_compress $KOEL_DOMAIN_NAME
|
|
|
433
|
+ echo ' gzip_comp_level 9;' >> $koel_nginx_site
|
432
|
echo '' >> $koel_nginx_site
|
434
|
echo '' >> $koel_nginx_site
|
433
|
echo ' # Logs' >> $koel_nginx_site
|
435
|
echo ' # Logs' >> $koel_nginx_site
|
434
|
echo ' access_log /dev/null;' >> $koel_nginx_site
|
436
|
echo ' access_log /dev/null;' >> $koel_nginx_site
|
|
|
|
|
475
|
echo '' >> $koel_nginx_site
|
477
|
echo '' >> $koel_nginx_site
|
476
|
echo '}' >> $koel_nginx_site
|
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
|
function_check configure_php
|
482
|
function_check configure_php
|
479
|
configure_php
|
483
|
configure_php
|
480
|
|
484
|
|