From 2f186a97c1e6ca1b4b252625cbfd03c07de97049 Mon Sep 17 00:00:00 2001 From: Andrew Schlackman <72105194+sei-aschlackman@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:31:56 -0400 Subject: [PATCH] added no-cache for settings.json and settings.env.json (#658) --- default.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.conf b/default.conf index d9c551d..292f1ae 100644 --- a/default.conf +++ b/default.conf @@ -23,6 +23,10 @@ server { location / { try_files $uri @index; } + + location ~ (settings.json|settings.env.json)$ { + add_header Cache-Control no-cache; + } location @index { add_header Cache-Control public;