reload index.html regularly

This commit is contained in:
Matthias Wirth
2020-02-24 02:10:54 +01:00
parent 6be7d9c5c8
commit 3b58301b7c

View File

@@ -62,6 +62,9 @@ location /INSTANCE {
location ~ .*\.gif$ {
add_header Cache-Control "public, max-age=1209600";
}
location ~ index.html$ {
add_header Cache-Control "public, max-age=300";
}
location ~ config.js$ {
add_header Cache-Control "public, max-age=10";
}