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" {
|
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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue