So, for reasons that are probably obvious to the seasoned VPS pros out there, this solution was not robust enough, and I needed to follow up on Kamal's advice sooner rather than later. The main trouble was that Node.js doesn't just keep running by itself with the above command. It needs a script called Forever to work properly, and a cronjob to restart the app when the machine reboots.
I thought I should find some entry-level information before coming back to Kamal for more advice, though. I'm grateful for the support, but I don't want to overwhelm his generosity with basic questions.
Who knew this was here
? It's the first hit on Google when I searched for "vps set up node.js nginx", and it was the perfect starting point for me.
The differences between the virtualhost config file from the tutorial and the one linked above are a bit arcane for me, and if anyone can explain it to me, I'd be much obliged.
Are there any other issues I should look out for at this point? What questions should
I be asking?
Thank you again, Kamal, so much for your guidance!