no cache for *.json

This commit is contained in:
Ulric Qin 2020-11-13 21:32:10 +08:00
parent d4adafbcb7
commit 250dd0c92d
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ http {
try_files $uri /layout/index.html;
}
location ~ .*(.htm|.html|manifest.json)$ {
location ~ .*(.htm|.html|.json)$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
}