From 3c584a7ca0e3d05f4173fa07f8d96bba7c891f28 Mon Sep 17 00:00:00 2001 From: Andrew Schlackman <72105194+sei-aschlackman@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:27:32 -0400 Subject: [PATCH] added no-cache for settings.json and settings.env.json --- 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;