Spin up an Nginx Docker Container as a Load Balancer

preview_player
Показать описание

Configuration

Cards
0:40 Nginx Crash Course
1:30 Node Js Docker lightweight

Timecode
Dockerfile 4:44

🏭 Software Architecture Videos

💾 Database Engineering Videos

🛰 Network Engineering Videos

🏰 Load Balancing and Proxies Videos

🐘 Postgres Videos

🚢Docker

🧮 Programming Pattern Videos

🛡 Web Security Videos

🦠 HTTP Videos

🐍 Python Videos

🔆 Javascript Videos

Support me on PayPal

Become a Patreon

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

If you enjoyed this, check out my Introduction to NGINX on udemy
grab a discount coupon here

hnasr
Автор

Hey there! Just wanted to drop by and share a quick story. Yesterday, I was struggling so much with this configuration that I finally gave in and went to YouTube—lo and behold, I found your video. At that moment, I knew it was going to be a game-changer, so I shut my laptop and went straight to bed, confident tomorrow would be handled by a certified badass.

I've been following your YouTube channel for a few years now and even took your Backend Fundamentals course on Udemy—absolutely brilliant, by the way.Thanks for all the amazing content, man! You're a legend.

someguyInArista
Автор

Great video explaning how to spin up nginx load balancer. One thing that can added is that docker is member of sudo using "sudo usermod -aG docker $USER"

kriswachtell
Автор

My proxy server does not run and it gives in 502 error. Followed the same step by step as shown in the video

ambarmanu
Автор

I appreciate the great video. Thank You for putting it together

DennisHosangJr
Автор

"I'm going to use vim" good lad, hitting subscribe

doghosuedean
Автор

Thanks a lot, man.!!!
Greetings from Mexico

MARK
Автор

thanks that was great. Quick and Concise

blossomkalabaw
Автор

Hussein...Eid Mubarak. Thank you for sharing this video. I was getting 502 Bad Gateway initially when I tried to use localhost (for my node instances) inside my docker image. Replaced localhost with IP, and it working now.

jsphkhan
Автор

many thank brooo. you saved my paper !!

hicalls
Автор

This is great tutorial Hussein, Thank you for sharing... Can you do a Traefik proxy using docker that'd be great.

mayurchavhan
Автор

Thanks dude. Traefik is also grabbing attentions and seems to work very well with containers, the API GUI is also interesting🙂 . I think it is also able to solve the problem of lacking load balancers in docker Swarm. Would be great if you could have an introductory video on it. Many thanks as always for your nice vids.

shahinbayat
Автор

okay okay, okay, 'subscribed'!

propeto
Автор

anybody else get a 502 bad gateway error when trying to load their local host page? or do anyone know what piece im missing ?

jdcarter
Автор

Hello Hussein, thanks for your tutorial. is there any configuration if we config this through public cloud such as GCP or AWS ?
do you ever config it ?

hicalls
Автор

Well spoken. Like the video a lot. Nginx docs make it so complicated. You made this so simple. I love how you just wrote the configs from scratch and explained it. I would recommend in future videos typing out the line and then talking about it so that people can type it out while you speak. Also, have you done a video using nginx and an SSL certificate? I'll search your videos, but if you haven't that would be a great addition.

justinroysdon
Автор

Just need to make sure one thing what did you write in the nginx.conf file

cserajesh
Автор

how would i make it not round robin. is there a way to do it using subdomains?

NeroNuke
Автор

Are there any pros/cons to running ngnix as docker image vs running it at host natively? like whether it's good if it fails for some reason but the the server is still reachable (i know you can configure it to auto restart but it can still fail that)

muhammedadel
Автор

I use to deploy web applications on Digital Ocean VPC. Normally, I had one LB which is one server. And 2 applications that are on separate on different servers. So, a total of 3 servers.
Can you please explain how it gonna archive with docker?

YGNCode
visit shbcf.ru