nginx behind load balancer

Rami Essaid rami.essaid at gmail.com
Mon Nov 21 12:40:49 UTC 2011


Thanks Maxim,

This looks like exactly what we need.  In your experience does this resolve
most issues behind a load balancer?



On Mon, Nov 21, 2011 at 7:38 AM, Maxim Dounin <mdounin at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111121/86abc937/attachment.html>


More information about the nginx mailing list