You probably Googled it it and are here! Okey, no more time waste (for MYSELF in future)…
Let’s see how to setup node app with SSL on a DigitalOcean VPS
node -v
sudo systemctl status mongodb
pm2 -v
sudo systemctl status nginx
try_files $uri $uri/ =404;
inside location
if absolutely necessary inside /etc/nginx/sites-available/default
Notice that we shall use services like heroku’s git feature instead of the globally famous github for version control to keep code closed source.
Originally published at xameeramir.github.io.