[nodejs] Error with Node.js app on A2Hosting but not on Heroku nor Localhost

2018-04-15 Thread Wayne Bruton
Hi, I am new to this group so I hope posting this question is okay? If not, please let me know the correct protocol. I have a node app that works perfectly on Heroku but not on A2Hosting nor on FastComet: It is an express app using ejs. The Routes are simply as follows: //Root Route

[nodejs] passenger nginx configuration

2018-04-15 Thread fugee ohu
My nginx conf has some ruby on rails web servers I'm trying to setup a node server for the first time my node server is located at /home/myusername/node_modules/peer/bin/peerjs where peerjs is a filename The suggested use is to have the server listen on port 9000, so in my nginx conf i've