forked from infra/ansible
proxies / wiki: add another bot to being blocked
This bot seems to be hitting the wiki really hard. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
b5f447cdcd
commit
d281e4ad31
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L]
|
|||
# Spiders-gone-wild
|
||||
# These spiders may not follow robots.txt and will
|
||||
# hit admin sections which consume large amounts of CPU
|
||||
RewriteCond %{HTTP_USER_AGENT} "(Bytespider|ClaudeBot|Amazonbot|YandexBot|ChatGLM-Spider|GPTBot|Barkrowler|YisouSpider|MJ12bot)" [NC]
|
||||
RewriteCond %{HTTP_USER_AGENT} "(Bytespider|ClaudeBot|Amazonbot|YandexBot|ChatGLM-Spider|GPTBot|Barkrowler|YisouSpider|MJ12bot|Avengineers-Crawler)" [NC]
|
||||
RewriteRule .* - [F,L]
|
||||
|
||||
# /wiki must come before /w due to prefix matching.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue