add url previews

This commit is contained in:
Charlotte 🦝 Delenk 2022-05-27 15:27:16 +01:00
parent 790cb1cdb0
commit bcb2a2b652
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -31,6 +31,20 @@ let
bindAddress = "::";
port = 9000;
};
urlPreviews = {
enabled = true;
numWorkers = 10;
oEmbed = true;
disallowedNetworks = [
"127.0.0.1/8"
"10.0.0.0/8"
"172.16.0.0/12"
"192.168.0.0/16"
"::1/128"
"fe80::/64"
"fc00::/7"
];
};
});
in
{