How to block an IP

Robert Gabriel lists at ruby-forum.com
Wed Apr 15 23:06:14 MSD 2009


Robert Gabriel wrote:
> Blocking an Ip address should be done like this?!
> 
> Allow from all
> Deny from 59.56.109.34
> 
> Thanks!

Sorry, I mean:

location / {
  allow all;
  deny 59.56.109.34;
  ...
}
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list