Nginx静态文件缓存过期配置
location /web {
add_header Cache-Control no-cache;
add_header Cache-Control private;
expires 0s;
alias /usr/share/nginx/html/web;
}
location /web {
add_header Cache-Control no-cache;
add_header Cache-Control private;
expires 0s;
alias /usr/share/nginx/html/web;
}