🎬 LESSON 08 / 12 — Reverse proxy basics
nginx can go in front of any backend (Node, Django, Rails, anything). 4 building blocks:
► proxy_pass: the main directive
► X-Forwarded-* headers: tell the backend who's calling
► Buffering: nginx between client and backend
► Timeouts: connect / send / read — 502 vs 504
⏱️ TIMESTAMPS
00:00 — The proxy flow: client → nginx → backend
01:00 — proxy_pass + trailing slash trick
03:30 — X-Forwarded-* headers
05:00 — Buffering & timeouts
06:00 — 502 vs 504 diagnose
📚 FULL COURSE PLAYLIST:
🌐 dargslan.com
#nginx #reverseproxy #proxy_pass #devops