Merge branch 'anubis' into 'main'

Anubis Wiki

See merge request nounous/nixos!66
merge-requests/66/merge
Pyjacpp 2026-04-19 16:46:30 +02:00
commit 8576e91861
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 = "${anubisChallenge}"; anubisConfig = "${anubisAllowOther}";
target = "172.16.10.161"; target = "172.16.10.161";
serverAliases = [ serverAliases = [
"wikipedia" "wikipedia"