vps1: mailserver: certs fix

This commit is contained in:
Lgmrszd 2024-05-16 01:41:09 +03:00
parent 264a6ba126
commit f21d76a859
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -19,11 +19,6 @@ in
certificateScheme = "manual"; certificateScheme = "manual";
certificateFile = "${config.security.acme.certs.${rootDomain}.directory}/fullchain.pem"; certificateFile = "${config.security.acme.certs.${rootDomain}.directory}/fullchain.pem";
keyFile = "${config.security.acme.certs.${rootDomain}.directory}/key.pem"; keyFile = "${config.security.acme.certs.${rootDomain}.directory}/key.pem";
security.acme.certs."${rootDomain}".reloadServices = [
"postfix.service"
"dovecot2.service"
];
enableManageSieve = true; enableManageSieve = true;
indexDir = "/var/lib/dovecot/indices"; indexDir = "/var/lib/dovecot/indices";
@ -46,4 +41,10 @@ in
}; };
}; };
}; };
security.acme.certs."${rootDomain}".reloadServices = [
"postfix.service"
"dovecot2.service"
];
} }