Skip to content

Instantly share code, notes, and snippets.

View AiM-Technologiez's full-sized avatar
🎯
Focusing

AiM technoZone AiM-Technologiez

🎯
Focusing
View GitHub Profile
@AiM-Technologiez
AiM-Technologiez / node_nginx_ssl.md
Last active October 20, 2022 10:14 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Deploy a Node.js App to DigitalOcean using PM2, NGINX and an SSL from LetsEncrypt

Digital Ocean

In this gist I will include the steps, commands and code that we used in the Node.js Deployment gist. This is not only deployment but also preparing our server with SSH keys and some security precautions such as disabling password and root login.

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

You need to create a Digital Ocean account.