adjust bot protection on cozybot
This commit is contained in:
parent
b4aeedd5b7
commit
0128346989
1 changed files with 14 additions and 2 deletions
|
|
@ -4,7 +4,19 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
cozybot.enable = true;
|
cozybot.enable = true;
|
||||||
caddy.virtualHosts."cozyp.federated.nexus".extraConfig =
|
caddy.virtualHosts."cozyp.federated.nexus".extraConfig = ''
|
||||||
"reverse_proxy unix//var/run/cozybot/socket";
|
respond /robots.txt <<EOF
|
||||||
|
User-agent: *
|
||||||
|
Disallow: *
|
||||||
|
EOF 200
|
||||||
|
|
||||||
|
defender redirect {
|
||||||
|
ranges aliyun aws deepseek githubcopilot gcloud oci azurepubliccloud openai mistral vultr cloudflare digitalocean linode
|
||||||
|
url https://ipv4.games/claim?name=federated.nexus
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy unix//var/run/cozybot/socket
|
||||||
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue