feat: added the renewal site for alumni

This commit is contained in:
silver 2023-09-30 19:22:58 +01:00
parent ad0462cb86
commit 3860db8098
4 changed files with 85 additions and 3 deletions

View file

@ -30,6 +30,7 @@ in {
"2016.skynet.ie"
"discord.skynet.ie"
"public.skynet.ie"
"renew.skynet.ie"
];
skynet_dns.records = [
@ -54,6 +55,11 @@ in {
r_type = "CNAME";
value = cfg.host.name;
}
{
record = "renew";
r_type = "CNAME";
value = cfg.host.name;
}
];
networking.firewall.allowedTCPPorts = [80 443];
@ -89,6 +95,13 @@ in {
root = "${inputs.compsoc_public.packages.x86_64-linux.default}";
locations."/".extraConfig = "autoindex on;";
};
# for alumni members to renew their account
"renew.skynet.ie" = {
forceSSL = true;
useACMEHost = "skynet";
root = "${inputs.skynet_website_renew.defaultPackage."x86_64-linux"}";
};
};
};
};

View file

@ -55,7 +55,7 @@ in {
}
];
environment.systemPackages = [ pkgs.vim ];
environment.systemPackages = [pkgs.vim];
networking.firewall.allowedTCPPorts = [80 443];