How to Deploy a Node.js App on Ubuntu with PM2, NGINX and Cloudflare

Created on October 21st, 2021

In this video you will learn how to deploy a Node.js application ready for production on an Ubuntu server using the following:

- Install a specific Node.js version

- PM2 to allow you to run and manage your Node application 24/7

- Nginx setup as a reverse proxy so that your users could access your website via HTTP on port 80

- Cloudflare so that you could use a domain name and secure your website with a free SSL certificate

DigitalOcean free $100 credit

All commands used in the video can be found here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

Twitter

Comments (0)