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,9 +37,12 @@ in {
}; };
}; };
security.acme.certs = { security.acme = {
"${webdomain}".email = "admin@${webdomain}"; acceptTerms = true;
"www.${webdomain}".email = "admin@${webdomain}"; certs = {
"${webdomain}".email = "admin@${webdomain}";
"www.${webdomain}".email = "admin@${webdomain}";
};
}; };
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];