@LEVI-HAVIV have you installed Nodejs? It appears the npm command (included when installing Nodejs) doesn't exist on your system.
Apache 2.4 proxy for NodeBB has socket.io problems
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.