location /html5client { proxy_pass http://10.7.7.200:4100; # use for production proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; }