mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 00:09:27 -05:00
noVNC: use nginx websocket proxy so it can do SSL termination properly
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user