feat: added in a vanity discord link

This commit is contained in:
silver 2023-08-11 01:44:04 +01:00
parent b7e8718f70
commit a395f94aa3

View file

@ -24,12 +24,14 @@
skynet_acme.domains = [
# the root one is already covered by teh certificate
"2016.skynet.ie"
"discord.skynet.ie"
];
skynet_dns.records = [
# means root domain, so skynet.ie
{record="@"; r_type="A"; value=cfg.host.ip;}
{record="2016"; r_type="CNAME"; value="skynet";}
{record="discord"; r_type="CNAME"; value="skynet";}
];
networking.firewall.allowedTCPPorts = [80 443];
@ -54,6 +56,13 @@
useACMEHost = "skynet";
documentRoot = "${inputs.skynet_website_2016.defaultPackage."x86_64-linux"}";
};
# archive of teh site as it was ~2012 to 2016
"discord.skynet.ie" = {
forceSSL = true;
useACMEHost = "skynet";
globalRedirect = "https://discord.gg/mkuKJkCuyM";
};
};
};
};