Re: GeoIP blocking behind AWS ELB + proxy protocol

2014-10-29 Thread Francis Daly
On Wed, Oct 29, 2014 at 01:35:50PM -0500, Joe Rizzo wrote: Hi there, > I have nginx servers behind an AWS ELB. Because web sockets are > leveraged, the ELB is configured as TCP load balancing with the proxy > protocol option set. The true IP address of the client is extracted as > variable $p

GeoIP blocking behind AWS ELB + proxy protocol

2014-10-29 Thread Joe Rizzo
Hi - I have nginx servers behind an AWS ELB. Because web sockets are leveraged, the ELB is configured as TCP load balancing with the proxy protocol option set. The true IP address of the client is extracted as variable $proxy_protocol_addr. How would I configure nginx to allow/deny access