noVNC: use nginx websocket proxy so it can do SSL termination properly

This commit is contained in:
Eric Schultz
2017-03-22 08:33:37 -05:00
parent 8f81eda874
commit d932046d71
+2 -1
View File
@@ -348,7 +348,8 @@ var RFB;
uri = this._encrypt ? 'wss' : 'ws';
}
uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
//uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
uri += '://' + this._rfb_host + '/wsproxy/' + this._rfb_port + '/' + this._rfb_path;
Util.Info("connecting to " + uri);
this._sock.open(uri, this._wsProtocols);