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