15 lines
351 B
Nginx Configuration File
15 lines
351 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html index.htm;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
# Optional: Proxy API requests if using same domain (not needed for this specific setup but good to have)
|
|
# location /api {
|
|
# proxy_pass http://backend:3000;
|
|
# }
|
|
}
|