Add no-cache to index.html

shouldn't cache index.html for access fresh page after upgrade.

Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
DQ 2019-09-02 10:13:10 +08:00
parent 8fd8c5f345
commit d50df0f0db

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";
}
}
}