diff --git a/hosts/vm/reverseproxy/reverseproxy.nix b/hosts/vm/reverseproxy/reverseproxy.nix index 2626238..e001d18 100644 --- a/hosts/vm/reverseproxy/reverseproxy.nix +++ b/hosts/vm/reverseproxy/reverseproxy.nix @@ -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"