nginx.conf 文件添加
location ~ \.html$ {
expires -1;
}
//或者
location ~ \.html$ {
add_header cache-control "no-cache";
}
nginx.conf 文件添加
location ~ \.html$ {
expires -1;
}
//或者
location ~ \.html$ {
add_header cache-control "no-cache";
}