From c5d155396a92dfee6d592fb24a936ab521215f6d Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Thu, 1 Apr 2021 19:35:27 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=F0=9F=92=BE=20prevent=20env.js=20from?= =?UTF-8?q?=20being=20cached?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref #108 --- nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index cd0ef5b7..03a346c3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -14,6 +14,10 @@ http { internal; add_header Cache-Control 'no-store'; } + location = /env.js { + internal; + add_header Cache-Control 'no-store'; + } location / { try_files $uri $uri/ /index.html; }