nginx 配置 gzip 传输
来源:互联网 发布:xml json 编辑:程序博客网 时间:2024/05/29 14:52
在 nginx.conf 文件中加入
#启用gzip压缩
gzip on;
gzip_min_length 1000;
gzip_buffers 4 8k;
gzip_http_version 1.1;
##针对ie6保障浏览器不假死
gzip_disable "MSIE [1-6].";
gzip_types text/plain application/x-javascript text/css text/html application/xml;
注意 在 http { 中一定要有 include mime.types;
监测网站是否启用了gzip :http://gzip.zzbaike.com/
0 0
- nginx 配置 gzip 传输
- Nginx Gzip 压缩配置
- 【Nginx】Gzip 压缩配置
- Nginx Gzip 压缩配置
- nginx gzip配置
- Nginx Gzip 压缩配置
- Nginx 配置 gzip 压缩
- nginx配置gzip
- nginx gzip 配置
- Nginx中gzip配置
- Nginx启用GZIP压缩网页传输方法
- Nginx 反向代理配置 gzip
- nginx gzip压缩 相关配置,
- Nginx开启gzip压缩配置
- Nginx内置gzip配置详解
- 配置Nginx gzip压缩功能
- Nginx之gzip压缩配置
- Nginx高级配置之Gzip压缩配置
- 让 SOURCE INSIGHT 支持 DELPHI (PASCAL)
- mencoder 参数解释
- code forces 409A The Great Game
- 格言警句
- 使用log4j 记录日志到数据库
- nginx 配置 gzip 传输
- oachina.net 数据库配置
- oschina.net nginx配置
- Android布局中ScrollView与ListView的冲突的最简单方法
- Tomcat 配置 cas 例子
- velocity例子
- html编辑器汇总
- 10 个 jQuery 的360 度图片展示插件
- 0001[Easy Inheritance]