From e912b76512bcd8b95a799d823d791ed432f75e65 Mon Sep 17 00:00:00 2001 From: Etienne LOUPIAS <eloupias@grandlyon.com> Date: Wed, 11 Jan 2023 16:59:26 +0100 Subject: [PATCH] fix: loader and structure icon svg cache pb after release in production --- nginx/dev.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/dev.conf b/nginx/dev.conf index 1853920bd..ac28f878f 100644 --- a/nginx/dev.conf +++ b/nginx/dev.conf @@ -36,6 +36,11 @@ server { })(); </script>"; + location ~ /index.html|.*\.json$ { + expires -1; + add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; + } + location / { # Redirect outdated nav if ($outdated = 1){ -- GitLab