Add acme staging server for easy access

This commit is contained in:
Sandro - 2022-07-23 00:05:35 +02:00
parent d26554436e
commit 6a0583b592
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 5 additions and 1 deletions

View File

@ -260,7 +260,11 @@ in {
then {
acceptTerms = true;
# NixOS>=22.05
defaults.email = cfg.acmeEmail;
defaults = {
email = cfg.acmeEmail;
# letsencrypt staging server with way higher rate limits
# server = "https://acme-staging-v02.api.letsencrypt.org/directory";
};
}
else {
acceptTerms = true;