Apache 2.4 proxy for NodeBB has socket.io problems
Ywat last edited by
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:
- I have a proxy here: https://openrct2.com/community (HTTPS)
- NodeBB actually runs on: http://delia.limetric.com:4567/community/ (just normal HTTP)
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.