mirror of https://gitlab.crans.org/nounous/nixos
Fix Wiki Antibots
parent
8cef1ac835
commit
9fe4cf765b
|
|
@ -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 = "${antiBot}";
|
||||
anubisConfig = "${anubisAllowOther}";
|
||||
target = "172.16.10.161";
|
||||
serverAliases = [
|
||||
"wikipedia"
|
||||
|
|
|
|||
Loading…
Reference in New Issue