mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
matchOriginProtocol is meant to be used when running socket.io behind a proxy. matchOriginProtocol should be set to true when you want the location handshake to match the protocol of the origin. This fixes issues with terminating the SSL in front of Node and forcing location to think it's wss instead of ws.