Revisions
-
supairish created this gist
Jun 18, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ http { map $http_user_agent $limit_bots { default ''; ~*(google|bing|yandex|msnbot) $binary_remote_addr; } limit_req_zone $limit_bots zone=bots:10m rate=1r/m; server { location / { limit_req zone=bots burst=5 nodelay; } } }