Using servers behind Reverse Proxy

It is partially possible to use servers behind a reverse proxy, especially on some reverse proxies via xhr-polling.

As described, Websockets are not part of HTTP protocol, even if the first request looks like http request. Actually, it isn't correct because most known reverse proxies do not support Websockets and drop many important areas of first Websocket request.

If you know that the server is behind reverse proxy, disable Websockets by setting this option in Clients\www\software\html5.html :

disablewebsocket = true;

That will enforce the usage of XHR-polling and avoid time delay when connecting.

Please note that the usage of XHR-polling is not as stable as Websockets.

The other limitation using Xhr polling via reverse proxy is the poor support on files upload. While working with XHR in direct connection, XHR connection established, for example via Apache reverse proxy, can accidentally interrupt the file's upload.