Re: upstream redirect instead proxy_pass

2015-05-19 Thread EvilMoe
But split_clients has no health check, right? WOuld it be possible to check the servers too like with upstream? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258940,258991#msg-258991 ___ nginx mailing list nginx@nginx.org http://mailman.ngin

Re: upstream redirect instead proxy_pass

2015-05-18 Thread Maxim Dounin
Hello! On Sun, May 17, 2015 at 01:07:30PM -0400, EvilMoe wrote: > Hello, > > I would like to use Nginx as Load Balancer (traffic). My config is: > > > upstream storages { > least_conn; > server str1 weight=1 max_fails=1 fail_timeout=10s; > server str2 weight=1 max_fails

upstream redirect instead proxy_pass

2015-05-17 Thread EvilMoe
Hello, I would like to use Nginx as Load Balancer (traffic). My config is: upstream storages { least_conn; server str1 weight=1 max_fails=1 fail_timeout=10s; server str2 weight=1 max_fails=1 fail_timeout=10s; } server { listen 80; server_name verteilen;