snippets.caddyfile: add tls-nc
This commit is contained in:
parent
44a64aa67b
commit
a12f6f8523
1 changed files with 11 additions and 0 deletions
|
|
@ -38,6 +38,17 @@ Disallow: /"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(tls-nc) {
|
||||||
|
tls {
|
||||||
|
dns namecheap {
|
||||||
|
api_key {args[0]}
|
||||||
|
user {args[1]}
|
||||||
|
api_endpoint https://api.namecheap.com/xml.response
|
||||||
|
client_ip {args[2]}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
(fuckbots) {
|
(fuckbots) {
|
||||||
@fuckbots {
|
@fuckbots {
|
||||||
header_regexp User-Agent "(Barkrowler|GoogleOther|Googlebot|Amazonbot|PetalBot|bingbot|YandexBot)"
|
header_regexp User-Agent "(Barkrowler|GoogleOther|Googlebot|Amazonbot|PetalBot|bingbot|YandexBot)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue