My Load Balancing configure is fail.

Yu Sun lists at ruby-forum.com
Sat Mar 20 06:18:05 MSK 2010


you can try this:
1.configure two nginx instance at  192.168.1.124 in two ports(one for 80
and the other for 8080).
in the 80 nginx.conf, use upstream
    upstream myproject {
         server 192.168.1.140:8080;
         server 192.168.1.124:8080;
    }

in the 8080 nginx.conf, do not set up proxy config

2. at 192.168.1.140 set up the 8080 nginx instance without the proxy
config.


you should seperate the proxy server(192.168.1.140:80) and the
backends(192.168.1.140:8080,192.168.1.124:80)

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list