server {
    listen 80;
    server_name libre-wedding-planner.app.localhost;

    location /api/ {
        proxy_pass http://backend:3000/;
        proxy_set_header Host $http_host;
    }

    location / {
        proxy_pass http://frontend:3000;
        proxy_set_header Host $http_host;
    }
}