Issues with second instance of nodebb - unable to create posts
-
I've installed a second instance of NodeBB on a server (never done this before) and although I can see both sites, on the second instance, I cant create new posts or reply to existing ones. I'm seeing this in the firefox console which may be relevant?
'Firefox can't establish a connection to the server at ws://kommunity.mydomain.com/socket.io/?EIO=3&transport=websocket&sid=6RdV8TM7H1NGMSb5AAAU.
I did change the nodeBB socket in config.json. Is there something else I need to change? This particular server is Ubuntu and I'm using apache as a proxy
apache conf: RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://127.0.0.1:4566/$1 [P,L] ProxyPass / http://127.0.0.1:4566/ ProxyPassReverse / http://127.0.0.1:4566/ </VirtualHost>
-
So far I have tried the suggestion here:
https://community.nodebb.org/topic/8803/run-two-nodebb-forums-in-parallel-on-same-server
Copyright © 2024 NodeBB | Contributors