I had set up a web socket application on the back-end server, and connected with the front-end by LSWS Reverse Web Socket Proxy.
BTW, it closes the ws connection and shows:
Connection closed before receiving a handshake response.
My
My
Please help me with this.
BTW, it closes the ws connection and shows:
Connection closed before receiving a handshake response.
My
1000.xml
configuration:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
<vhssl>
<keyFile>/etc/letsencrypt/live/alphakkutu.me/privkey.pem</keyFile>
<certFile>/etc/letsencrypt/live/alphakkutu.me/fullchain.pem</certFile>
</vhssl>
<websocketList>
<websocket>
<uri>/</uri>
<address>[url]:1060</address>
</websocket>
</websocketList>
</virtualHostConfig>
httpd_config.xml
's virtual Host part:
XML:
<virtualHost>
<name>1000</name>
<vhRoot>$VH_ROOT</vhRoot>
<configFile>$SERVER_ROOT/conf/ws/$VH_NAME.xml</configFile>
<allowSymbolLink>1</allowSymbolLink>
<enableScript>1</enableScript>
<restrained>1</restrained>
<maxKeepAliveReq>1000</maxKeepAliveReq>
<staticReqPerSec>50</staticReqPerSec>
<dynReqPerSec>5</dynReqPerSec>
<outBandwidth>100K</outBandwidth>
<inBandwidth>20K</inBandwidth>
</virtualHost>
Last edited by a moderator: