[public-pool] nginx proxy missing WebSocket headers — UI loads but shows no data

Description

The Public Pool app loads the UI correctly but shows no data — it stays in an infinite loading spinner.

Root Cause

The nginx configuration at public-pool/data/proxy/nginx.conf is missing the WebSocket upgrade headers. Without them, the browser cannot establish a real-time WebSocket connection to the backend, so the UI never receives any data.

Current config:

server {
    listen 80;
    location / {
        proxy_pass http://public-pool_web_1:80;
    }
    location ~* ^/api/ {
        proxy_pass http://public-pool_server_1:2019;
    }
}

Fixed config:

server {
    listen 80;

    location / {
        proxy_pass http://public-pool_web_1:80;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }

    location ~* ^/api/ {
        proxy_pass http://public-pool_server_1:2019;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
}

Environment

Verification

After applying the fix manually via SSH and reloading nginx, the UI loads all data correctly.