Nginx Web服务expires(缓存模块)配置

    Read

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


正确配置:
参考一:

参考二:

申明:本文由BYRD原创(基于Centos6.4 X64、Nginx-1.7.0),未经许可禁止转载!
参考:http://nginx.org/en/docs/http/ngx_http_headers_module.html#expires SourceByrd's Weblog-https://note.t4x.org/environment/nginx-web-expires-config/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on May 21, 2014
  • 原文链接:https://note.t4x.org/environment/nginx-web-expires-config/
匿名

Comment

Anonymous

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