caddy (snippets): add fuckbots
This commit is contained in:
parent
de84153bfc
commit
e35c16b403
1 changed files with 10 additions and 0 deletions
|
@ -38,3 +38,13 @@ Disallow: /"
|
|||
}
|
||||
}
|
||||
|
||||
(fuckbots) {
|
||||
@fuckbots {
|
||||
header_regexp User-Agent "(GoogleOther|Googlebot|Amazonbot|PetalBot|bingbot|YandexBot)"
|
||||
header Host git.zio.sh
|
||||
}
|
||||
|
||||
handle @fuckbots {
|
||||
respond Gone 410
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue