Nginx Web服务gzip(压缩模块)配置

  • A+
所属分类:Environment

编辑nginx配置文件:[root@lnmp nginx]# vim /usr/local/nginx/conf/nginx.conf

Nginx增加模块:

[root@lnmp nginx]# /usr/local/nginx/sbin/nginx -V #查看已安装模块
申明:本文由BYRD原创(基于Centos6.4 X64、Nginx-1.7.0),未经许可禁止转载!
参考:http://nginx.org/en/docs/http/ngx_http_gzip_module.html
参考:http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: