In this video I show you how to upload and deploy a node.js node app to digitalocean or any other VPS. We use Ubuntu Linux, Nginx, NodeJS and pm2 to deploy our application.
Having a hard time deploying your app? I'll do it for you, pain free:
codingwithcode...
If you liked this video please consider liking, commenting and subscribing to the channel!
CODE:
server {
server_name example.com www.example.com;
location / {
proxy_pass localhost:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Other Linux & Server Tutorials:
• Linux & Server Tutorials
Hire Me:
www.fiverr.com...
5 окт 2024