
Episode 124 - NginX
About this episode
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
Get every episode summarized
Each time The Backend Engineering Show with Hussein Nasser publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from The Backend Engineering Show with Hussein Nasser

Caching is a cop-out
The Backend Engineering Show with Hussein Nasser

How open ai agents "hacked" hugging face
The Backend Engineering Show with Hussein Nasser

How a query optimization gave birth to infinite scroll
The Backend Engineering Show with Hussein Nasser

Postgres is half as fast in Linux 7.0
The Backend Engineering Show with Hussein Nasser