DEV Community

Cover image for [VIDEO] How to Deploy a Node.js App on Ubuntu with PM2, NGINX and Cloudflare
Bobby Iliev
Bobby Iliev

Posted on • Edited on • Originally published at devdojo.com

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

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

  • 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:
https://m.do.co/c/2a9bba940f39

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-16-04

Follow me on Twitter

Top comments (0)