add nginx.conf

This commit is contained in:
2025-02-21 15:11:56 -05:00
parent 252b84daad
commit e3a13d3b0c

15
nginx.conf Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;
# Set the root directory for the application
root /usr/share/nginx/html;
# Default index file
index index.html;
# Handle routes with Angular's HTML5 mode
location / {
try_files $uri $uri/ /index.html =404;
}
}