How to configure Nginx as load balancing that are running apache(port 80) on same host(host1).
Proxy is between nginx:80 and apache:8000.
Load balance is between host-1 and host2/3 with same weight.
Overview is as follows;
<Internet>-----< host-1> -------<proxy>--------<load barance>
>>>>>>>>>Nginx:80<--->Apace:8000 <--->host-2 :weight 5 :80;,host-3 :weight 5 :80;
Need a little more description for http://wiki.nginx.org/LikeApache
Explaining of configure on Virtual Host in Apache could be helpful.
with regards;