Welcome! Log In Create A New Profile

Advanced

Re: nginx behind load balancer

November 25, 2011 09:56AM
Hi Maxim,

We implemented to module and still had some trouble. A lot of the
connections would return " 503 Service Temporarily Unavailable". Our
configuration works fine without the load balancer but then gives these 503
errors behind the load balancer.

Looking into the error logs I notice a lot of these errors both with and
without the load balancer "connect() failed (111: Connection refused) while
connecting to upstream". Could this be the reason that we are having
issues?

Thanks!
Rami


On Mon, Nov 21, 2011 at 7:46 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Mon, Nov 21, 2011 at 07:40:49AM -0500, Rami Essaid wrote:
>
> > Thanks Maxim,
> >
> > This looks like exactly what we need. In your experience does this
> resolve
> > most issues behind a load balancer?
>
> Yes.
>
> Maxim Dounin
>
> > On Mon, Nov 21, 2011 at 7:38 AM, Maxim Dounin <mdounin@mdounin.ru>
> wrote:
> >
> > > Hello!
> > >
> > > On Mon, Nov 21, 2011 at 07:25:39AM -0500, Rami Essaid wrote:
> > >
> > > > Hi Guys,
> > > >
> > > > This weekend for scalability we tried putting our nginx servers
> behind
> > > > amazon's elastic load balancers and came across a road block: it
> does not
> > > > transparently pass the user IP and header information to nginx. This
> > > caused
> > > > issues with several pieces of nginx we use including the IP allow /
> deny
> > > > rules, the limit_req module, and the limit_con module. Has anyone
> > > > successfully put nginx behind a load balancer? Any ideas on how to
> make
> > > > this work?
> > >
> > > http://wiki.nginx.org/HttpRealIpModule
> > >
> > > Maxim Dounin
> > >
> > > _______________________________________________
> > > nginx mailing list
> > > nginx@nginx.org
> > > http://mailman.nginx.org/mailman/listinfo/nginx
> > >
>
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx behind load balancer

ressaid November 21, 2011 07:26AM

Re: nginx behind load balancer

Maxim Dounin November 21, 2011 07:40AM

Re: nginx behind load balancer

ressaid November 21, 2011 07:42AM

Re: nginx behind load balancer

Maxim Dounin November 21, 2011 07:48AM

Re: nginx behind load balancer

ressaid November 25, 2011 09:56AM

Re: nginx behind load balancer

Maxim Dounin November 25, 2011 12:16PM

Re: nginx behind load balancer

ressaid November 25, 2011 12:40PM

Re: nginx behind load balancer

stefancaunter November 25, 2011 04:20PM

Re: nginx behind load balancer

ressaid November 25, 2011 04:56PM

Re: nginx behind load balancer

ressaid November 25, 2011 05:26PM

Re: nginx behind load balancer

911csj@gmail.com November 26, 2011 03:46PM

Re: nginx behind load balancer

ressaid November 29, 2011 04:38AM

Re: nginx behind load balancer

Brian F. October 03, 2012 04:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready