Resolved build issues with DNS-01 nad webroot enabled

This commit is contained in:
Illia Chub 2022-02-16 06:59:59 +02:00
parent 163afde7cf
commit c03fd25959

View file

@ -9,7 +9,7 @@ in
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
email = "${cfg.username}@${cfg.domain}"; email = "${cfg.username}@${cfg.domain}";
certs = { certs = lib.mkForce {
"${cfg.domain}" = { "${cfg.domain}" = {
domain = "*.${cfg.domain}"; domain = "*.${cfg.domain}";
extraDomainNames = [ "${cfg.domain}" ]; extraDomainNames = [ "${cfg.domain}" ];