Hosting NodeJS projects
Hosting NodeJS projects
I love the simplicity and inner workings of VestaCP a lot!
One thing that i'm missing is the hosting of NodeJS projects. I'd love to run a NodeJS project (running on port 3000) through the NGINX reverse proxy used in VestaCP.
What would be the best way to do this? Any ideas? I found the templates but I'm not quite sure what to edit.
One thing that i'm missing is the hosting of NodeJS projects. I'd love to run a NodeJS project (running on port 3000) through the NGINX reverse proxy used in VestaCP.
What would be the best way to do this? Any ideas? I found the templates but I'm not quite sure what to edit.
Re: Hosting NodeJS projects
I hope it's not too late but what I did today is edit the ngnix.conf file pertaining to the existing domain that has been created with vestacp. I just changed port number for both proxy_pass and change the root directory because I created another directory inside the public_html folder. If your nodejs app contains on the default root folder then it's not necessary to change it.
After saving the changes, I restarted my server and ran my app and started working right away.
After saving the changes, I restarted my server and ran my app and started working right away.
Re: Hosting NodeJS projects
Hi sangwich,
Possible to help a newbie?
Wanted to know if there a guide that tell you how to install node.js on a vesta panel server? Or perhaps you could give some hints?
Thanks,
amohan
Possible to help a newbie?
Wanted to know if there a guide that tell you how to install node.js on a vesta panel server? Or perhaps you could give some hints?
Thanks,
amohan
Re: Hosting NodeJS projects
Okay installed the node.js
now what port number needs to be changed in the conf file?
-amohan
now what port number needs to be changed in the conf file?
-amohan