Revert "add wildcard ACME certificate"

This reverts commit b37cadff68
(except pleroma virtualHosts).
This commit is contained in:
Alexander Tomokhov
2023-12-19 16:27:54 +04:00
parent 426e6f72c5
commit 0c4d57c33d
9 changed files with 21 additions and 26 deletions

View File

@@ -27,18 +27,13 @@ in
reloadServices = [ "nginx" ];
};
certs = lib.mkForce {
"wildcard-${cfg.domain}" = {
"${cfg.domain}" = {
domain = "*.${cfg.domain}";
extraDomainNames = [ "${cfg.domain}" ];
group = "acmereceivers";
dnsProvider = lib.strings.toLower cfg.dns.provider;
credentialsFile = acme-env-filepath;
};
"${cfg.domain}" = {
domain = cfg.domain;
group = "acmereceivers";
webroot = "/var/lib/acme/acme-challenge";
};
};
};
systemd.services.acme-secrets = {