nginx配置压缩前端js文件加快速度访问
gzip on; gzip_disable "msie6"; gzip_min_length 100k; gzip_buffers 4 16k; gzip_comp_level 3; gzip_types text/css text/javascript application/javascript image/jpeg image/gif image/png; # 压缩文件类型 gzip_vary off;
gzip on; gzip_disable "msie6"; gzip_min_length 100k; gzip_buffers 4 16k; gzip_comp_level 3; gzip_types text/css text/javascript application/javascript image/jpeg image/gif image/png; # 压缩文件类型 gzip_vary off;