Fix Wiki Antibots

anubis
Pyjacpp 2026-04-19 16:36:04 +02:00
parent 8cef1ac835
commit 9fe4cf765b
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 14 additions and 1 deletions

View File

@ -61,6 +61,19 @@ let
]; ];
}; };
anubisAllowOther = formatJSON.generate "anubis_allow.json" {
"bots" = [
{
import = "${antiBot}";
}
{
name = "allow-other";
path_regex = "^*";
action = "ALLOW";
}
];
};
anubisPerso = formatJSON.generate "anubis_perso.json" { anubisPerso = formatJSON.generate "anubis_perso.json" {
"bots" = [ "bots" = [
{ {
@ -171,7 +184,7 @@ in
]; ];
}; };
"wiki" = { "wiki" = {
anubisConfig = "${antiBot}"; anubisConfig = "${anubisAllowOther}";
target = "172.16.10.161"; target = "172.16.10.161";
serverAliases = [ serverAliases = [
"wikipedia" "wikipedia"