How to block fake google spider and fake web browser access?

meteor8488 nginx-forum at
Tue May 5 13:07:41 UTC 2015

It seems that I can't edit my post. I have to post my question here:
 I tried to use "deny" to deny access from an IP. But it seems that it can
still access my server.

In my http part:


But when I check the log, I still can find - - [05/May/2015:19:44:22 +0800] "GET /thread-1251687-1-1.html
HTTP/1.0" 302 154 "" "Mozilla/5.0 (compatible;
Baiduspider/2.0; +"
"" - - [05/May/2015:19:50:06 +0800] "GET
/thread-1072432-1-1.html HTTP/1.0" 302 154 ""
"Mozilla/5.0 (compatible; Baiduspider/2.0;
+" ""

it seems deny is not working.

Any one can help?

Posted at Nginx Forum:,258659,258660#msg-258660

More information about the nginx mailing list