How to Deploy Node.js Applications with pm2 and Nginx on Ubuntu

585

pm2 is a process manager for Node.js applications, it allows you to keep your apps alive and has a built-in load balancer. It’s simple and powerful, you can always restart or reload your node application with zero downtime and it allows you to create a cluster of your node app.

In this tutorial, I will show you how to install and configure pm2 for the simple ‘Express’ application and then configure Nginx as a reverse proxy for the node application that is running under pm2.

Read more at HowtoForge