added update html to remove cache and service worker
This commit is contained in:
parent
7a99a44307
commit
6dd41b7f01
2 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,15 @@ http {
|
||||||
|
|
||||||
expires $cache_expires;
|
expires $cache_expires;
|
||||||
|
|
||||||
|
location = /update {
|
||||||
|
return 302 /update.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /update.html {
|
||||||
|
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Redirect old /index.html requests to new file
|
# Redirect old /index.html requests to new file
|
||||||
location = /index.html {
|
location = /index.html {
|
||||||
return 301 /indexV2.html;
|
return 301 /indexV2.html;
|
||||||
|
|
|
||||||
0
update.html
Normal file
0
update.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue