Use of allow behind a load balancer

Maxim Dounin mdounin at mdounin.ru
Fri Jan 18 14:20:57 MSK 2008


Hello!

On Fri, Jan 18, 2008 at 09:55:02AM +0100, Joaquin Cuenca Abela wrote:

>Hi, I want to restrict access to a particular URL to some IPs, but my
>nginx is behind a load balancer, and the user IP is stored in a
>header.
>Is there any way to make "allow" act on the value of an http header
>instead of the IP of the load balancer?

http://wiki.codemongers.com/NginxHttpRealIpModule

Maxim Dounin





More information about the nginx mailing list