From 5188f387fbd8f5c3d80a0ad835b3a513736810f3 Mon Sep 17 00:00:00 2001 From: ruowen Date: Mon, 29 Oct 2018 15:43:46 +0800 Subject: [PATCH] fix no-cache, no-store issue Change-Id: I39b2f23282b9f330932b93c6b250ea707dc3e0e7 --- 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 b5535f9..d02f9e1 100644 --- a/tengine/nginx/nginx.conf +++ b/tengine/nginx/nginx.conf @@ -50,7 +50,7 @@ http { index index.html; } - location ~.*[/|/index\.html]?$ { + location ~.*/index\.html$ { root /var/app; add_header Cache-Control "no-cache, no-store"; } -- GitLab