From f328c4036abc5c95b26d434ee6d5ce2c363e5344 Mon Sep 17 00:00:00 2001 From: Carter Date: Wed, 4 Jun 2025 14:15:04 -0600 Subject: [PATCH] directing webserver traffic to indexV2.html to force V1 users to re-cache --- indexV2.html | 14 ++++++++++++++ nginx.conf | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 indexV2.html diff --git a/indexV2.html b/indexV2.html new file mode 100644 index 0000000..31b4ca1 --- /dev/null +++ b/indexV2.html @@ -0,0 +1,14 @@ + + + + + + + Adaptive Dashboard + + + +
+ + + diff --git a/nginx.conf b/nginx.conf index 8e8fc75..adb8457 100644 --- a/nginx.conf +++ b/nginx.conf @@ -61,7 +61,12 @@ http { expires $cache_expires; root /usr/share/nginx/html; - try_files $uri /index.html; + try_files $uri /indexV2.html; + + location = /index.html { + return 301 /indexV2.html; + } + } # Healthcheck