Nginx 配置不缓存 index.html


Nginx 配置不缓存 index.html

1
2
3
4
location = /index.html {
add_header Cache-Control "no-cache, no-store";
root /data/xxx/xxx;
}