How to config for WebSocket on Linux CentOS 7(Apache)?
<p>I am developing node application for WebRTC.
Currently I am using socket.io for real time communication.
But I have following error when connect to signaling server placed on Linux CentOS7(Apache).</p>

<p>WebSocket connection to 'ws://localhost/socket.io/?EIO=3&amp;transport=websocket&amp;sid=BmT1OlWRijuoGNpXAAAA' failed: Error during WebSocket handshake: 'Connection' header is missing</p>

<p>I am using socket.io.js in client side.</p>

<pre><code>&lt;script src = "/javascripts/lib/socket.io.js"&gt;&lt;/script&gt;
</code></pre>

<p><code>&lt;script type = "javascript"&gt; 
    var socket = io();
&lt;/script&gt;</code></p>

<p>I think this is happened cause of my websocket config in httpd.conf.
Would you like to help me?</p>