location ~ .*.(htm|html)?$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
access_log on;
}
location ~ .*.(htm|html)?$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
access_log on;
}
本文标题:Nginx 不缓存index.html
本文链接:https://www.haomeiwen.com/subject/pgsksctx.html
网友评论