feat: acme
This commit is contained in:
parent
404f0f6992
commit
f614ee5713
1 changed files with 7 additions and 2 deletions
|
|
@ -28,6 +28,11 @@
|
||||||
# down nginx and opens port 80.
|
# down nginx and opens port 80.
|
||||||
x509.useACMEHost = config.mailserver.fqdn;
|
x509.useACMEHost = config.mailserver.fqdn;
|
||||||
};
|
};
|
||||||
security.acme.acceptTerms = true;
|
security.acme = {
|
||||||
security.acme.defaults.email = "stefan@tague.at";
|
acceptTerms = true;
|
||||||
|
defaults.email = "stefan@tague.at";
|
||||||
|
certs.${config.mailserver.fqdn} = {
|
||||||
|
webroot = "/var/lib/acme/acme-challenges";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue