Another NGNIX and HA config issue

Hey all,

I know this is another nginx and HA config thread but I thought starting a new (not closed ) ticket… When connecting to HA via NGNIX Im getting VM382:164 WebSocket connection to

WrappedWebSocket @ VM382:164
n @ core-79cea8ece91ee5a5dc48f1a8b89b5d1e.js:1
(anonymous) @ core-79cea8ece91ee5a5dc48f1a8b89b5d1e.js:1 


Ive checked all the various ngnix config files and I cant find whats wrong.. My nginx config file reads as follows

```map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

server {
    server_name xxx.yyyy.com; #
    index index.html;
    proxy_buffering off;


    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/xxxx.yyyy.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/xxxx.yyyy.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

    # HomeAssistant
    location / {
        proxy_pass http://192.168.0.204:8123;
        proxy_set_header Host $host;
        proxy_redirect http:// https://;
        proxy_set_header X-Forwarded-Proto       $scheme;
        proxy_set_header X-Real-Ip $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
        proxy_http_version 1.1;
    }
}

Ngnix server version = 1.13.10
Browser = Chrome on Windows

Any ideas? this is baffling me