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.
Subject Author Posted

Load Balancing and High Availability

toriacht July 23, 2013 10:59AM

Re: Load Balancing and High Availability

toriacht July 23, 2013 11:06AM

Re: Load Balancing and High Availability

nitesh July 23, 2013 11:16AM

Re: Load Balancing and High Availability

Axel July 23, 2013 06:04PM

Re: Load Balancing and High Availability

toriacht July 24, 2013 06:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready