mirror of https://gitlab.crans.org/nounous/nixos
Suppression code mort
parent
24a71dd509
commit
b90c2af0ec
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
|
|
@ -8,28 +7,6 @@
|
||||||
let
|
let
|
||||||
cfg = config.crans.reverseProxy;
|
cfg = config.crans.reverseProxy;
|
||||||
|
|
||||||
formatJSON = pkgs.formats.json { };
|
|
||||||
|
|
||||||
allowAll = formatJSON.generate "allow_all.json" {
|
|
||||||
bots = [
|
|
||||||
{
|
|
||||||
name = "allow_all";
|
|
||||||
path_regex = ".*";
|
|
||||||
action = "ALLOW";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
open_graph = formatJSON.generate "opengraph.json" {
|
|
||||||
openGraph = [
|
|
||||||
{
|
|
||||||
enabled = true;
|
|
||||||
considerHost = true;
|
|
||||||
ttl = "24h";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
mainTld = "org";
|
mainTld = "org";
|
||||||
otherTld = [
|
otherTld = [
|
||||||
"fr"
|
"fr"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue