server {
    listen 80;

    location / {
        proxy_pass https://192.168.0.6:5001;

        proxy_http_version 1.1;
        proxy_ssl_verify off;

        proxy_set_header Host 192.168.0.6;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto https;

        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}
