From 1bb549c4df644ffe5f20aa3a9ec01f98aea3125b Mon Sep 17 00:00:00 2001 From: Lobo Date: Sat, 28 Mar 2026 12:33:34 +0100 Subject: [PATCH] Update nginx.conf --- nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 52a60e7..3fba025 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,10 +1,11 @@ -server { +server { listen 80; location / { root /usr/share/nginx/html; index index.html index.htm; - # Redirect all unknown paths to index.html to allow React Router to handle the routing + + # Handle React Router navigation try_files $uri $uri/ /index.html; } } \ No newline at end of file