No tracing

This commit is contained in:
niten 2021-12-13 11:05:12 -08:00
parent fa75fc9031
commit 2503b640c9
2 changed files with 3 additions and 2 deletions

View File

@ -122,7 +122,8 @@ in {
config = { config = {
security.acme.certs = mapAttrs (domain: domainOpts: { security.acme.certs = mapAttrs (domain: domainOpts: {
email = domainOpts.admin-email; email = domainOpts.admin-email;
webroot = cfg.challenge-path; # IF you won't do it all the time, nginx, you can't do it at all
webroot = mkForce cfg.challenge-path;
extraDomainNames = domainOpts.extra-domains; extraDomainNames = domainOpts.extra-domains;
}) localDomains; }) localDomains;

View File

@ -205,7 +205,7 @@ in {
in { in {
acme.host-domains.${hostname} = mapAttrs (site: siteCfg: acme.host-domains.${hostname} = mapAttrs (site: siteCfg:
mkIf siteCfg.enableACME { mkIf siteCfg.enableACME {
extra-domains = optional (site != host-fqdn) (trace host-fqdn host-fqdn); extra-domains = optional (site != host-fqdn) host-fqdn;
local-copies.ejabberd = { local-copies.ejabberd = {
user = cfg.user; user = cfg.user;
group = cfg.group; group = cfg.group;