From 91741ca89ce58c46c73182f73dbb574f53e804db Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Wed, 31 Jan 2024 14:11:29 -0800 Subject: [PATCH] [www] fix asset caching (partial revert of 572f303) I got overzealous with my prefix matching. I want the index.html to be a fallback route only. --- services/frontend/nginx.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/frontend/nginx.conf.template b/services/frontend/nginx.conf.template index 00f5bb412..499e3cbe6 100644 --- a/services/frontend/nginx.conf.template +++ b/services/frontend/nginx.conf.template @@ -48,7 +48,7 @@ http { add_header Cache-Control "public"; } - location ^~ / { + location / { try_files ${ESC}uri /index.html; # From https://quasar.dev/quasar-cli-vite/developing-spa/deploying/ #