How to Deploy a Node.js App to Digital Ocean (Nginx, Ubuntu)

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:
codingwithcodebrah.com/deploy...
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/ios_solutions/...

Пікірлер: 70

  • @Codebrah
    @Codebrah Жыл бұрын

    Having a hard time deploying your app?

  • @bilalchami1
    @bilalchami1

    Amazing tutorial. I spent the whole afternoon jumping between articles and documentations. Usually I prefer blogs and documentation over videos but none were complete as yours.

  • @gercoyne
    @gercoyne Жыл бұрын

    One of the best tutorials I've watched on this or any topic. Thank you!

  • @vvan22
    @vvan22

    It's amazing that you can remember all of those commands and parameters 🙌

  • @shivanshyadav1041
    @shivanshyadav1041 Жыл бұрын

    Awesome video, this is my first time using DigitalOcean this video is to the point. Great Work 👍👍

  • @Chilenaz0o
    @Chilenaz0o

    The best video i've seen explaining things like that .. straightforward Thanks!

  • @natsudragneel7884
    @natsudragneel7884

    Awesome video bro, I was struggling to get my backend up and running but your video saves my day.

  • @zlackbiro
    @zlackbiro Жыл бұрын

    This tutorial is amazing. I done everything on my VPS for the first time so smooth without any problems.

  • @101sokratis
    @101sokratis Жыл бұрын

    Was really helpful never used nginx but was able to do what I needed. thanks

  • @ibrahimmaroof7099
    @ibrahimmaroof7099

    omg i watched a lot of tutorials none of them worked until i found this guy

  • @pyfinx
    @pyfinx

    really useful step by step guide to deploy on linux. thanks!

  • @MystikMasi
    @MystikMasi

    Wow thank you so much! This tutorial saved me a lot of time and helped me to understand what I have to to to run my Server! The first time I got it runnngin my websockets didn't work because it uses ws instead of wss. Now everything is running perfect :) Thanks a lot!

  • @WorldNewsThisWeek
    @WorldNewsThisWeek

    Fantastic explanation, a literal lifesaver, incredibly useful, thanks so much bro / brah!

  • @shubhamarutwar9396
    @shubhamarutwar9396 Жыл бұрын

    Thanks mate, video is detailed af

  • @iliassglitch
    @iliassglitch

    This video is just perfect! Thank you so much <3

  • @MiSt3300
    @MiSt3300

    Holy crap that actually worked! Thanks bro, you're the best!

  • @abduladilsunnat2489
    @abduladilsunnat2489

    Thank you so much ive been struggling for a very long time with this

  • @giansingh4710
    @giansingh4710

    I LOVE YOUUUU. This was great. Thanks a lot. Saved me a bunch of time. lol

  • @ganielledotexe8938
    @ganielledotexe8938

    you got yourself a new subscriber and a fan. Thanks @CodeBrah ! You're a f*cking legend ! <3

  • @chibuzoraustine
    @chibuzoraustine Жыл бұрын

    Totally awesome bro … 🎉💜