From 16f034e18cd630d7781a2626242015a297896860 Mon Sep 17 00:00:00 2001 From: Shekhar Vaidya Date: Wed, 2 Sep 2026 11:38:34 +0530 Subject: [PATCH] feat(frontend): add nginx config for SPA routing --- frontend/nginx.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 frontend/nginx.conf diff --git a/frontend/nginx.conf b/frontend/nginx.conf new file mode 100644 index 0000000..3c25a98 --- /dev/null +++ b/frontend/nginx.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name _; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +}