Nginx的gzip配置
gzip on;
gzip_min_length 5k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 4;
gzip_types text/plain application/javascript application/x-javascript application/font-woff text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
gzip_vary on;