From 6dd41b7f01bf20ce6f0e853f0c432e36d423a024 Mon Sep 17 00:00:00 2001 From: Carter Date: Fri, 13 Jun 2025 14:26:15 -0600 Subject: [PATCH] added update html to remove cache and service worker --- nginx.conf | 9 +++++++++ update.html | 0 2 files changed, 9 insertions(+) create mode 100644 update.html diff --git a/nginx.conf b/nginx.conf index a2c0d11..47b3c38 100644 --- a/nginx.conf +++ b/nginx.conf @@ -63,6 +63,15 @@ http { expires $cache_expires; + location = /update { + return 302 /update.html; + } + + location = /update.html { + add_header Cache-Control "no-store, no-cache, must-revalidate"; + } + + # Redirect old /index.html requests to new file location = /index.html { return 301 /indexV2.html; diff --git a/update.html b/update.html new file mode 100644 index 0000000..e69de29