Все просто, приложение крутится на порту 5200 нужно проксировать трафик с 8080 на 5200:
server {
listen 8080;
server_name xxx.xxx.xx.x;
location / {
proxy_pass http://xxx.xxx.xx.x:5200;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}