docker files updated

This commit is contained in:
2025-03-19 10:29:07 +05:30
parent 124e435504
commit a550635aae
3 changed files with 81 additions and 0 deletions

15
app/nginx.conf Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;
# Point to the Vite build output directory
root /usr/share/nginx/html/dist;
index index.html;
location / {
try_files $uri /index.html;
}
# Redirect 404 errors to index.html (for React Router)
error_page 404 /index.html;
}