From d12635cad0cddc56ad9ed588f08be8bd8ccd8386 Mon Sep 17 00:00:00 2001 From: ruowen Date: Mon, 29 Oct 2018 16:08:36 +0800 Subject: [PATCH] add max-age=0, must-revalidate to Cache-Control Change-Id: I07cf368514626ae88085742ef1200a297e35c711 --- tengine/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tengine/nginx/nginx.conf b/tengine/nginx/nginx.conf index d02f9e1..105f90b 100644 --- a/tengine/nginx/nginx.conf +++ b/tengine/nginx/nginx.conf @@ -52,7 +52,7 @@ http { location ~.*/index\.html$ { root /var/app; - add_header Cache-Control "no-cache, no-store"; + add_header Cache-Control "no-cache, no-store, max-age=0, must-revalidate"; } } } -- GitLab