= Nginx Load balancer on Debin > aptitude install nginx > vi /etc/nginx/sites-enabled/default ## ADD upstream for load balancer ## upstream backend { server 192.168.0.10 weight=5; server 192.168.0.11 weight=2; } server { listen 80; server_name localhost; access_log /var/log/nginx/localhost.access.log; location / { #root /var/www/nginx-default; ##comment out #index index.html index.htm; ##comment out proxy_pass http://backend; ##ADD } > /etc/init.d/nginx restart