From 3b58301b7c5fc3e3ee9d5eeb03c3e77430178cfa Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Mon, 24 Feb 2020 02:10:54 +0100 Subject: [PATCH] reload index.html regularly --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index e69f35b..2dd5918 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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"; }