mirror of https://gitlab.crans.org/nounous/nixos
feat: makes pages persos inherit antibot
parent
27a426da82
commit
a180e6fc7c
|
|
@ -63,6 +63,9 @@ let
|
||||||
|
|
||||||
anubisPerso = formatJSON.generate "anubis_perso.json" {
|
anubisPerso = formatJSON.generate "anubis_perso.json" {
|
||||||
"bots" = [
|
"bots" = [
|
||||||
|
{
|
||||||
|
import = "${antiBot}";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "allow-public";
|
name = "allow-public";
|
||||||
path_regex = "^/[a-zA-Z0-9_-]*/public/.*";
|
path_regex = "^/[a-zA-Z0-9_-]*/public/.*";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue