首页
版块
教程
交流
话题
官网
搜索
登录
注册
amclub技术博客
访问量
2
新鲜事
帖子
资料
https://php.upupw.net/user-253.html
N5.2版怎么设置静态内容缓存时间
很多优化检查包括百度SEO功能都提示 “未设置max-age或expires”我在vhosts.conf添加了如下内容:location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 7d; access_log ...
全文
回复
(
1
)
2014-01-19 09:39
来自版块 -
Nginx使用交流
◆
◆
表情
告诉我的粉丝
提 交
动力火锅
:
你这个规则是对的,应该是加错地方了,你可以尝试加在nginx.conf中的include vhosts.conf; 上方,做个全局配置。
(2014-01-19 18:02)
回复
amclub
加关注
写私信
0
关注
5
粉丝
43
帖子
返回顶部