Nginx 第二天早上6:00到期
目前我使用这个nginx配置缓存Nginx 第二天早上6:00到期,nginx,cache-control,Nginx,Cache Control,目前我使用这个nginx配置缓存index.html一天: location /index.html { gzip_static on; expires 1d; add_header Cache-Control public; break; } 有没有办法配置缓存总是在第二天早上06:00过期? 此外,还可以使用“@”前缀(0.7.9,0.6.34)指定一天中的某个时间: 您是否尝试过exipres@6h30m? expires @15h30m;
index.html
一天:
location /index.html {
gzip_static on;
expires 1d;
add_header Cache-Control public;
break;
}
有没有办法配置缓存总是在第二天早上06:00过期?
此外,还可以使用“@”前缀(0.7.9,0.6.34)指定一天中的某个时间:
您是否尝试过exipres@6h30m代码>?
expires @15h30m;