Episode 124 - NginX - podcast episode cover

Episode 124 - NginX

Jan 20, 20201 hr 27 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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

For the best experience, listen in Metacast app for iOS or Android