Load Balancing and High Availability

nitesh nginx-forum at nginx.us
Tue Jul 23 15:16:13 UTC 2013


Hi Team,

I am newbiw too and i am setting up load balancer with nginx from "
https://www.digitalocean.com/community/articles/how-to-set-up-nginx-load-balancing"
but my reuest are not going to the servers which i have configured.

below is the my nginx.conf setup 

upstream nitesh {
        server 192.168.1.2;
        server 192.168.1.3;
        server 192.168.1.4;
        }

}

and below is my virtual.conf setup

server {
        listen *:80;
        server_name nginx.whmcs.co.in;
        access_log  /var/log/nginx/nginx.access.log;
        error_log  /var/log/nginx/nginx_error.log debug;
        log_format upstreamlog '[$time_local] $remote_addr - $remote_user -
$server_name  to: $upstream_addr: $request upstream_response_time
$upstream_response_time msec $msec request_time $request_time';
        location / {
                proxy_pass http://nitesh;
        }
}


but i am not getting the setup page while running website.

my another three server are running with apache.

so update me on the same that i should have to change in that configuration.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241152,241154#msg-241154



More information about the nginx mailing list