Here's why you need Nginx as a Reverse Proxy for your Node.js app

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น • 28

  • @SoftwareDeveloperDiaries
    @SoftwareDeveloperDiaries  ปีที่แล้ว +6

    Are you using a reverse proxy too? 🤔

    • @KinoPM2
      @KinoPM2 6 หลายเดือนก่อน

      Modlishka

  • @chrisalexthomas
    @chrisalexthomas ปีที่แล้ว +17

    FYI: the action of serving https to nginx, but then http upstream, is called "SSL(or TLS) Termination", it's very common for edge or gateway like setups, also SSL communications is cpu intensive to encrypt all the traffic, so you just don't want that internally since it's a waste of resources

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  ปีที่แล้ว

      Thanks for the hint mate! Very useful ❤️

    • @guseynismayylov1945
      @guseynismayylov1945 ปีที่แล้ว +1

      If you use Cluster API on a machine with 8 or 16 cores (which is more than enough for average project), you would have just one https server with built in load balancer.

  • @darrenpierre9903
    @darrenpierre9903 ปีที่แล้ว +1

    Loving this video series , learning a ton from it . I'm a recent computer science graduate and I want to get more into system design . Your videos have been helping me so much

  • @tylerarrigoni7700
    @tylerarrigoni7700 2 หลายเดือนก่อน

    Loving this channel! Fantastic content and topic choices

  • @AdityaParmar-dr7gu
    @AdityaParmar-dr7gu 6 หลายเดือนก่อน +1

    You are great ! thanks for content almost seeing all video of advance nodejs of yours

  • @DigitalAlchemyst
    @DigitalAlchemyst ปีที่แล้ว +3

    Slowloris still to this day is one of the nastiest exploits in ddos. With proper configuration the right hacker can take down rather beefy servers with just one machine, no bot net, no hacker army DDOSing, just one machine with 1-4 slowloris scripts and its lights out and bills up

  • @guseynismayylov1945
    @guseynismayylov1945 ปีที่แล้ว +3

    If you ever tried to build your app with Node.js Cluster API and did in a proper way, there is no way back to reverse proxy. It's amazing how many people who use RP are not even aware of Cluster API, I am glad that the author of this video at least knows about it.
    Cluster API can handle enterprise solutions, even some benchmarks show that Node.js is better than NGNIX. I just don't understand this attitude, if you can build something without external dependency or a service, why at least not try it?
    This is why we have microservices, because people don't understand the cost of bringing external dependencies into the system.

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  ปีที่แล้ว +2

      Thanks for your comment! I haven't used the Cluster mode in production yet, so wasn't able to give a direct comparison in the video 🙂

  • @adwaitbokade2890
    @adwaitbokade2890 ปีที่แล้ว

    Good One, I liked you videos, I would love if you make custom video on nginx load Balancing using Nodejs, just like how enterprise loading balancing is done !!

  • @shamstabrez2986
    @shamstabrez2986 11 หลายเดือนก่อน

    DO A IN DETAIL SESSION ON PM2 DONT CREATE SHORT SESSION PLZ HOWPM2 WORKS IN WHAT SCENARIO IT CAN HELP AND WHICHALL LANGUAGE I CAN USE PM2

  • @edhahaz
    @edhahaz 9 หลายเดือนก่อน +1

    it's because node doesn't have all the features, got it... but now we got nextjs

  • @waffleman2226
    @waffleman2226 3 หลายเดือนก่อน

    How can i find or create a ssl_certificate.crt and the private key to use them ?

    • @progCoders
      @progCoders 23 วันที่ผ่านมา

      Search about Certbot

  • @brickstv3156
    @brickstv3156 ปีที่แล้ว

    does render do this for you ?

  • @KinoPM2
    @KinoPM2 6 หลายเดือนก่อน +2

    looked for copper found gold

  • @shaiknadeen
    @shaiknadeen ปีที่แล้ว +4

    nice mustache

  • @AliSajidCS
    @AliSajidCS ปีที่แล้ว

    get rid of the mustache

  • @andrewandrosow4797
    @andrewandrosow4797 11 หลายเดือนก่อน

    An embedded proxy server for Nginx - is in Moscow, in the FSB. Because it is a russian software

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  11 หลายเดือนก่อน

      Hasbulla confirms

    • @-boiadeiro-
      @-boiadeiro- 11 หลายเดือนก่อน

      Да, это так. Мы следим за вами. Хорошего дня.

    • @andrewandrosow4797
      @andrewandrosow4797 11 หลายเดือนก่อน +1

      @@-boiadeiro- напиши отчет начальнику отдела - "напугал украинца до смерти".😂