From 785b2049b9be42cf816a2bc628e8eb6b3ffab0e4 Mon Sep 17 00:00:00 2001 From: Vivek Date: Mon, 8 Jun 2026 09:23:57 +0000 Subject: [PATCH] Fix nginx: add proper SPA fallback with try_files and compression --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ca23085..f1e87ee 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,7 +6,7 @@ server { # Serve static assets location / { - try_files $uri $uri/ /index.html; + try_files $uri /index.html; } # Gzip compression