nginx配置/及.html结尾的请求,响应头添加Cache-Control no-store
location / {
if ($request_uri ~* '/$|\.html$') {
add_header Cache-Control no-store;
}
root html;
index index.html;
}
nginx配置/及.html结尾的请求,响应头添加Cache-Control no-store
location / {
if ($request_uri ~* '/$|\.html$') {
add_header Cache-Control no-store;
}
root html;
index index.html;
}