Welcome! Log In Create A New Profile

Advanced

Re: Load Balancing and High Availability

July 23, 2013 11:16AM
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.
SubjectAuthorPosted

Load Balancing and High Availability

toriachtJuly 23, 2013 10:59AM

Re: Load Balancing and High Availability

toriachtJuly 23, 2013 11:06AM

Re: Load Balancing and High Availability

niteshJuly 23, 2013 11:16AM

Re: Load Balancing and High Availability

AxelJuly 23, 2013 06:04PM

Re: Load Balancing and High Availability

toriachtJuly 24, 2013 06:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 50
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready