Update nginx.conf
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 28s

This commit is contained in:
lobo committed 2026-03-28 12:33:34 +01:00
1 parent 2e63b7cfcc
commit 1bb549c4df
1 file changed
+3 -2
+3 -2
View File
@@ -1,10 +1,11 @@
server { server {
listen 80; listen 80;
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; 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; try_files $uri $uri/ /index.html;
} }
} }