server {
listen 80;
location /api/ { # api server
client_max_body_size 0;
proxy_http_version 1.0;
proxy_pass http://zeitadler-dashboard-api/;
}
location / { # frontend
root /usr/share/nginx/html;
index index.html;
try_files $uri /index.html;