Nginx静态文件缓存过期配置

wangfengqingyang 2019-04-20

location /web {

    add_header Cache-Control no-cache;

    add_header Cache-Control private;

    expires 0s;

    alias /usr/share/nginx/html/web;

}

相关推荐

lwplvx / 0评论 2020-11-22
岁月如歌 / 0评论 2020-07-21