diff --git a/etc/caddy/snippets.caddyfile b/etc/caddy/snippets.caddyfile index ac35980..6d82cf3 100644 --- a/etc/caddy/snippets.caddyfile +++ b/etc/caddy/snippets.caddyfile @@ -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 { header_regexp User-Agent "(Barkrowler|GoogleOther|Googlebot|Amazonbot|PetalBot|bingbot|YandexBot)"