The Backend Engineering Show with Hussein Nasser

Episode 124 - NginX


Listen Later

NginX is an open source web server written in C and can also be used as a reverse proxy and a load balancer.

In this video, I want to go through the following topics in NginX

  • What is NginX? 2:25
  • Current & Desired Architecture 4:58
  • Layer 4 and Layer 7 Proxying in Nginx 8:40
  • Example 10:25
    • Install Nginx (mac) 13:30
    • Nginx as a Web Server 15:00 (webserver.conf)
      • Static context location root 20:00
      • regular expression 27:00
      • proxy pass 30:30
      • Nginx as a Layer 7 Proxy 33:30
        • Proxy to 4 backend NodeJS services (docker) 37:00
        • IP_Hash load balaning 43:00
        • Split load to multiple backends (app1/app2) 46:00
        • Block certain requests (/admin) 49:00
        • NGINX as a Layer 4 Proxy 51:30
        • Create DNS record 1:01:08
        • Enable HTTPS on Nginx (lets encrypt) 1:05:08
        • Enable TLS 1.3 on Nginx 1:14:00
        • Enable HTTP/2 on NGINX 1:17:10
        • Summary 1:20:10
        • Cards

          3:40 proxy vs reverse proxy https://www.youtube.com/watch?v=ozhe__GdWC8&t=1s

          8:50 OSI Model https://www.youtube.com/watch?v=7IS7gigunyI

          10:00 L4 vs l7 load balancer https://www.youtube.com/watch?v=aKMLgFVxZYk

          34:00 spin up docker app https://www.youtube.com/watch?v=vmSMrQ8Ev9w&t=14s

          44:26 stateless vs stateful https://www.youtube.com/watch?v=nFPzI_Qg3FU

          1:16:30 TLS video https://www.youtube.com/watch?v=AlE5X1NlHgg&t=8s

          ...more
          View all episodesView all episodes
          Download on the App Store

          The Backend Engineering Show with Hussein NasserBy Hussein Nasser

          • 4.9
          • 4.9
          • 4.9
          • 4.9
          • 4.9

          4.9

          40 ratings


          More shows like The Backend Engineering Show with Hussein Nasser

          View all
          Freakonomics Radio by Freakonomics Radio + Stitcher

          Freakonomics Radio

          32,100 Listeners

          Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

          Software Engineering Radio - the podcast for professional software developers

          275 Listeners

          Risky Business by Risky Business Media

          Risky Business

          375 Listeners

          Science Vs by Spotify Studios

          Science Vs

          12,237 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          982 Listeners

          Darknet Diaries by Jack Rhysider

          Darknet Diaries

          8,051 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          208 Listeners

          Within Reason by Alex J O'Connor

          Within Reason

          1,645 Listeners

          All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

          All-In with Chamath, Jason, Sacks & Friedberg

          10,182 Listeners

          Dwarkesh Podcast by Dwarkesh Patel

          Dwarkesh Podcast

          576 Listeners

          Big Technology Podcast by Alex Kantrowitz

          Big Technology Podcast

          508 Listeners

          Hard Fork by The New York Times

          Hard Fork

          5,530 Listeners

          The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

          The AI Daily Brief: Artificial Intelligence News and Analysis

          682 Listeners

          Prof G Markets by Vox Media Podcast Network

          Prof G Markets

          1,489 Listeners

          The Pragmatic Engineer by Gergely Orosz

          The Pragmatic Engineer

          74 Listeners