Blocking user behind proxy

sameer nginx-forum at nginx.us
Thu Oct 15 15:22:25 MSD 2009


Hi,

We are using Akamai for site acceleration and wish to block traffic from a set of IPs. 

Can I just do something like

if $TRUE-CLIENT-IP ~ IP {
deny all;
}

or do I need to search the HTTP_Header

This is not a variable defined in the HTTP core module.

Sameer

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,13912,13912#msg-13912






More information about the nginx mailing list