mirror of https://gitlab.crans.org/nounous/nixos
Merge branch 'anubis' into 'main'
Anubis Wiki See merge request nounous/nixos!66merge-requests/66/merge
commit
8576e91861
|
|
@ -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" {
|
||||
"bots" = [
|
||||
{
|
||||
|
|
@ -171,7 +184,7 @@ in
|
|||
];
|
||||
};
|
||||
"wiki" = {
|
||||
## anubisConfig = "${anubisChallenge}";
|
||||
anubisConfig = "${anubisAllowOther}";
|
||||
target = "172.16.10.161";
|
||||
serverAliases = [
|
||||
"wikipedia"
|
||||
|
|
|
|||
Loading…
Reference in New Issue