-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roles/dspace: Aggressively limit Baidu crawler in nginx
Baidu makes over 10,000 requests per day, nearly three thousand of which are to URLs that are forbidden in robots.txt. I have decided to aggressively limit their requests to one per minute rather than blocking them outright because the mechanism could be handy in the future if some other bot starts misbehaving.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 characters