nginx 配置指定文件不做缓存

 

```
#缓存location 增加配置.

if ($request_uri ~* "filename") {
    add_header Cache_Control "private, no-store, must-revalidate, proxy-revalidate";
}
```

  

posted @ 2023-10-03 18:41  MR__Wang  阅读(493)  评论(0编辑  收藏  举报