Try putting it in public/src/ folder.
Keep in mind you really shouldn't be putting stuff in these folders that aren't tracked by NodeBB, but I can't stop you either 😄
Hm, ghe guy from Plesk says:
Node.js is supported by Plesk. All NPM requirements for nodebb (including websocket) were installed. All that you need is using some kind of instruction how to configure websocket properly for nodebb.
Can anyone help me there?
btw, i cant telnet to port 4567 localhost? i wonder what im doing wrong ;( I also changed url to https now.
well im using plesk onyx and .. it starts the app.js not using nodebb start. is that wrong? because if i start it using nodebb start it listens ons localhost 4567 but isnt reachable after. so i have to do it using plesk. im trying to get the forumr unning since 1 day ... it would be sad if in the end it wouldnt work. ;(
thats a tutorial not with plesk onyx and not with apache only. plesk onyx now supports node.js natively. but it looks like my nodebb doesnt even listen on 4567 but i have configured it to do so. so testing how apache does proxy is senseless aswell
If you still cannot figure it out, I would suggest you try using a droplet on DigitalOcean, as that is the easiest to get started. It's fairly cost-effective as well, at $5 USD /mo
im using nginx now. it works. but for it to work i have to manually run /opt/plesk/node/6/bin/node ./nodebb start ... in plesk i cant set this up. is there any way to automatically start nodebb with the node.js feature of plesk?
Change the startup file option to
nodebb start ?
startup file option cant be set to nodebb start it says file not found.
nodebb is the executable.
start is the first argument passed in.