Spin up an Nginx Docker Container as a Load Balancer

Spin up an Nginx Docker Container as a Load Balancer

Hussein Nasser

4 года назад

38,505 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mr4c3k
Mr4c3k - 19.01.2023 04:23

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

Ответить
Tony Thomas
Tony Thomas - 26.12.2022 16:57

proxy_pass ❤

Ответить
Kristian Wachtell
Kristian Wachtell - 13.12.2022 14:41

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"

Ответить
Amir
Amir - 02.09.2022 17:53

Hussein a man with energetic voice ;)

Ответить
Jordan Carter
Jordan Carter - 10.08.2022 23:28

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

Ответить
Rajesh Multi-Dimensional Views
Rajesh Multi-Dimensional Views - 18.03.2022 02:44

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

Ответить
blossom kalabaw
blossom kalabaw - 24.01.2022 11:46

thanks that was great. Quick and Concise

Ответить
nocotamświrze
nocotamświrze - 28.12.2021 19:48

I like how eccentric you are

Ответить
DNL DNL
DNL DNL - 17.09.2021 05:07

Great video nice simple

Ответить
Vaibhav Hiwase
Vaibhav Hiwase - 27.08.2021 13:54

How can i load Balance post request

Ответить
MR.Chowdhury
MR.Chowdhury - 04.08.2021 19:39

but the all three port is open 2222 and 3333. outside people can access those port.

Ответить
Jorge Jorge
Jorge Jorge - 21.06.2021 14:27

okay okay, okay, 'subscribed'!

Ответить
Ambar Jain
Ambar Jain - 11.03.2021 09:42

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

Ответить
Haikal Shiddiq
Haikal Shiddiq - 14.01.2021 13:58

many thank brooo. you saved my paper !!

Ответить
Ric Hincapie
Ric Hincapie - 27.12.2020 20:20

Thanks for sharing. Appreciate it.

Ответить
Adam Baker
Adam Baker - 25.10.2020 03:35

Hey Hussein, great video. Like some others in the comments, I am experiencing a 502 bad gateway error. I attempted to map to my private IP in the upstream of the nginx.conf file, but the 502 error persisted. I can get a response in the browser from my upstream servers using the same IP, but I cannot get them to be served by the load balancer. For context I am running on Docker Desktop for Windows, I don't know if that matters. Any thoughts here?

Ответить
MARK01986
MARK01986 - 23.10.2020 16:40

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

Ответить