How to configure NGINX as a load balancer
Vložit
- čas přidán 8. 09. 2024
- NGINX is primarily used as a web server, a reverse proxy, and/or a load balancer.
In this short video, we'll go over how you can take an existing NGINX reverse proxy setup and convert it to load balance traffic to multiple backend servers.
NGINX does a great job of load balancing traffic, but that doesn't mean it needs to be complicated to configure and by the end of this video you should see that it isn't complicated at all.
Presented by one of our Training Architects, Keith Thompson.
===============
If you'd like to learn more about NGINX you should check out the NGINX Web Server Deep Dive course that is currently free during August 2018:
linuxacademy.c...
===============
Linux Academy:
linuxacademy.com/
===============
Try Linux Academy FREE for seven days:
linuxacademy.c...
Looking to get your team trained on the latest cloud technologies?
linuxacademy.c...
Like us on Facebook:
/ linuxacademycom
Follow us on Twitter:
/ linuxacademycom
Connect with us on LinkedIn:
/ linuxacademy
Read our blog:
linuxacademy.c...
Configured nginx as reverse proxy and load balancer
Thank you
God bless. This is a perfect startup to an entire new topic 🎉🎉
Compact. Precise. Helpful.
Wtf man! I was just watching Load balancing tutorial and got your notification 🔔
no nonsense. straight forward. understood everything. thanks.
this is a great video, thank you.
Great video!
fantastic one Thank you!
Great video, it helped me a lot! Greetings from Brazil! Thank you!
nginx is so easy! Thanks for this video.
Good job Sir. Thanks very much.
Hi, It was really helpful, but i facing problem to achieve the same thing but on socket (TCP protocol).
It will be really appreciated if can help me with this.
man that was epic thank you
So the server that has the application is also the load balancer. You don't need an extra load balancer.
Very nice, Thanx!
short crispy and concise
nice, thank you!
How should your app be setup? Do you need to listen on multiple ports?
I created a conf file conf.d unable to start nginx it’s throwing error journalctl please help me on this
terima kasih
how does it determine which server to send the load to?
wow amazing... Now I have to chance to see this error [emerg] "http" directive is not allowed here in /etc/nginx/conf.d/
Great video. But can I put the same config on multiple machines ?? If this is running on one machine and that machine goes down, do I lose the routing ? ... even if all the other machines are up and running ?
nice video
hey, thanks for the tutorial.
I have a site running with nginx & php fpm & sqlite3 for database. if I just copy the site's content from one server to another, then the data isn't gonna sync automatically.
TLDR: how can i make this work with dynamic sites?
anyone knows a solution?
Great video, i have one Question my backend server is running on other port(5000,1,2) for that i used proxy_pass in location /api/ block how i can load balance backend too (with front end)....... ?thanks you and Greetings from INDIA!,
Great...
Will this interfere with my current NGINX HTTPS reverse proxy setup and SSL certificates?
acrost is not a word.
never has been, never will be.
Hello I have HostGator with a dedicated server. Wanted to add a couple more dedicated servers and was wondering if this would load balance them for me.
hey can anyone you help me out how do we specify location as static in the video , i am getting confused
Thank you. I am trying to configure load balancer for two different docker containers. Is it possible through nginx?
RTFM
@@andreikashin STFU
Hi, how would I do with the location /static { } section if the apps weren't in the localhost but in different servers?
Thank you.
IP:PORT