Added aCME terms

This commit is contained in:
Craige McWhirter 2020-09-17 11:13:58 +10:00
parent 4902de4925
commit b9e82ef992
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -37,10 +37,13 @@ in {
}; };
}; };
security.acme.certs = { security.acme = {
acceptTerms = true;
certs = {
"${webdomain}".email = "admin@${webdomain}"; "${webdomain}".email = "admin@${webdomain}";
"www.${webdomain}".email = "admin@${webdomain}"; "www.${webdomain}".email = "admin@${webdomain}";
}; };
};
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];