nginx behind load balancer

Rami Essaid rami.essaid at
Mon Nov 21 12:25:39 UTC 2011

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list