mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-03-07 06:11:42 +01:00
We already do this in the wiki because we noticed that Bytespider is an extremely aggressive crawler that sometimes hogs so many resources that it slows down operations.
5 lines
127 B
Django/Jinja
5 lines
127 B
Django/Jinja
# Block search bot that apparently never heard the term rate limiting
|
|
if ($http_user_agent ~ "Bytespider$" ) {
|
|
return 403;
|
|
}
|