location / { proxy_set_header CLIENT_HOST $remote_addr; proxy_set_header Origin ""; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }