You're asking for best practices: nginx is it. Put nginx in front, and it will 
even be faster and better then node at ssl stuff, so your app only listens on 
one port.

It is trivial to install, and it is simple to configure, read a little about 
node and nginx and multiple apps. 
DigitalOcean 1GB droplet it's perfectly capable of housing nginx, a few small 
node apps, and maybe a small database, though it varies, depends on usage.

As for terminals, either look into forever or pm2 modules oh npm. They each 
have good docs on how to do the setup you want. 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/d6794ab2-6fa1-42e7-8cf9-4a608a76c28b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to