Apache 2.4 proxy for NodeBB has socket.io problems



  • Hi folks,

    I used the 2.4 proxy instructions from the docs. But it's not working correctly for me. I assume because I want the proxy to only work on '/community'.

    Here's my current setup:

    The proxy itself works great, but socket.io keeps complaining about not being able to connect using websockets: "WebSocket connection to 'wss://openrct2.com/community/socket.io/?EIO=3&transport=websocket&sid=OORktGqFRszzHMQNAAWr' failed: Error during WebSocket handshake: Unexpected response code: 400"

    Here's a pastebin to my Apache config: http://pastebin.com/UMMadXVR

    What should I change to my config to make websockets work correctly?

    Thanks in advance.



Suggested Topics

| |