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://

    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}  ^/            [NC]
    RewriteCond %{QUERY_STRING} transport=websocket    [NC]
    RewriteRule /(.*)           ws://$1 [P,L]
    ProxyPass /
    ProxyPassReverse /

  • Admin

    Do the two forums on the same server have different domain names?

  • @julian yes.

  • Admin

    That is quite bizarre :frowning:

    Unfortunately I do not have experience with Apache, so unless you want to try nginx (which I think is kind of overkill of a solution), you'll have to see if anyone else can help...

Log in to reply

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.