Deny access to one file

Dave Cheney dave at cheney.net
Thu Jan 17 00:29:26 MSK 2008


Try

location = ' /includes/confirm_register.php' {
     deny    192.168.0.0/16;
     deny    123.123.123.0/24;
     allow   all;
}

Cheers

Dave

On 17/01/2008, at 6:01 AM, Emers wrote:

>
> }






More information about the nginx mailing list