summaryrefslogtreecommitdiff
path: root/frontend/nginx.conf
blob: 65992548c4e3ea4d5cda21bf905ea948174be8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
server {
    listen 80;
    location / {
        root /app;
        try_files $uri /index.html;
    }

    location /api {
        rewrite /api(.*) $1 break;
        proxy_pass http://backend;
    }
}