Рет қаралды 48,653
Traefik is an open-source reverse proxy written in GO and marketed as an Edge Router. It supports automatic TLS and HTTP/2 by default and other cloud native features. In this video I want to discuss Traefik as a reverse proxy and load balancer.
0:00 Intro
2:00 Problem
4:00 Traefik Architecture
11:00 TCP vs HTTP Proxying
12:00 Demo
15:30 Install Treafik Docker
16:40 Treafik as a Layer 7 Proxy
18:00 Static Configuration
20:00 Proxy to all 4 backend NodeJS services
27:00 Split load to multiple backends (app1/app2)
32:00 Block certain requests (/admin)
34:20 Weighted RR
38:30 Treafik as a Layer 4 Proxy (tcp router)
43:30 Create DNS record
44:40 Enable HTTPS on Treafik (lets encrypt)
50:00 Disable 1.1/1.0 Enable TLS 1.2 and TLS 1.3
53:50 Summary
Resources
docs.traefik.io/providers/file/
Config
github.com/hnasr/javascript_playground/tree/master/traefik
🏭 Backend Engineering Videos
kzfaq.info/sun/PLQnljOFTspQUNnO4p00ua_C5mKTfldiYT
💾 Database Engineering Videos
kzfaq.info/sun/PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🛰 Network Engineering Videos
kzfaq.info/sun/PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr
🏰 Load Balancing and Proxies Videos
kzfaq.info/sun/PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
🐘 Postgres Videos
kzfaq.info/sun/PLQnljOFTspQWGrOqslniFlRcwxyY94cjj
🚢Docker
kzfaq.info/sun/PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r
🧮 Programming Pattern Videos
kzfaq.info/sun/PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe
🛡 Web Security Videos
kzfaq.info/sun/PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv
🦠 HTTP Videos
kzfaq.info/sun/PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO
🐍 Python Videos
kzfaq.info/sun/PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX
🔆 Javascript Videos
kzfaq.info/sun/PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM
👾Discord Server discord.gg/CsFbFce
Become a Member
kzfaq.info/love/_ML5xP23TOWKUcc-oAE_Egjoin
Support me on PayPal
bit.ly/33ENps4
Become a Patreon
www.patreon.com/join/hnasr?
Stay Awesome,
Hussein