config added

This commit is contained in:
2026-06-15 19:28:12 +05:30
parent 01685f14c2
commit 0c747711c6
2 changed files with 36 additions and 0 deletions

18
nginx.conf Normal file
View File

@@ -0,0 +1,18 @@
events {}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen 3000;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
# This line forces Nginx to pass routing back to React Router
try_files $uri $uri/ /index.html;
}
}
}