feat: added the renewal site for alumni
This commit is contained in:
parent
ad0462cb86
commit
3860db8098
4 changed files with 85 additions and 3 deletions
|
@ -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"}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -55,7 +55,7 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.vim ];
|
||||
environment.systemPackages = [pkgs.vim];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue