1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-03-07 06:11:42 +01:00
infrastructure/roles/gitlab/templates/nginx-mixin-block-bytespider.conf.j2
Sven-Hendrik Haase 361d62862d
gitlab: Block Bytespider outright
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.
2025-06-11 20:31:36 +02:00

5 lines
127 B
Django/Jinja

# Block search bot that apparently never heard the term rate limiting
if ($http_user_agent ~ "Bytespider$" ) {
return 403;
}