Merge pull request #8912 from ninjadq/no_cache_index_html

Add no-cache to index.html
This commit is contained in:
Daniel Jiang 2019-09-03 13:01:55 +08:00 committed by GitHub
commit b75cbe1a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,5 +30,9 @@ http {
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
}
}