Nginx
LoadBalancer
code: nginx.conf
http {
upstream backend {
server ec2-34-248-28-113.eu-west-1.compute.amazonaws.com:80 weight=1;
server ec2-34-244-150-18.eu-west-1.compute.amazonaws.com:80 weight=2;
}
server {
location / {
}
}
}
code: zsh
Nginx 2
Nginx 1
Nginx 1
Nginx 2
Nginx 1
Nginx 1
Nginx 2
Nginx 1
Nginx 1
Nginx 2