File size: 394 Bytes
05465db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 you want to avoid CORS issues strictly 
    # (Though your backend handles CORS, so this isn't strictly necessary)
    # location /api/ {
    #     proxy_pass http://backend:8000;
    # }
}