-
-
Save WooodHead/ef7680ff6c9972617beac87b0e81169f to your computer and use it in GitHub Desktop.
Using NGINX as HTTP load balancer, Load Balancing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream web_backend{ | |
server 192.168.1.11:3000; | |
server 192.168.1.12:3000; | |
} | |
server { | |
listen 3000; | |
location / { | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass http://web_backend; | |
} | |
} | |
### How to Configure NGINX as a Load Balancer - Quick Tutorial | Linux Academy | |
- https://www.youtube.com/watch?v=v81CzSeiQjo | |
### HTTP Load Balancing with Nginx | |
- https://www.youtube.com/watch?v=w6OVu2f7KNA | |
### NGINX Controller - Load Balancing Configuration | |
- https://www.youtube.com/watch?v=w6OVu2f7KNA | |
### NGINX HTTP Load Balancing | |
- https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/ | |
### Using nginx as HTTP load balancer | |
- http://nginx.org/en/docs/http/load_balancing.html | |
### Load Balancing Node.js Application Servers with NGINX Open Source and NGINX Plus | |
- https://docs.nginx.com/nginx/deployment-guides/load-balance-third-party/node-js/ | |
### How to configure load balancing using Nginx | |
https://upcloud.com/community/tutorials/configure-load-balancing-nginx/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment