summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-10-28 10:11:41 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2019-10-28 10:12:39 +0100
commit5d22f7afe1365188fe45f61cd14cc1f2f8b737c3 (patch)
tree82879cf28c49b6ace84a1d3e782ed9c2b3e954aa /nixos
parent5d20246ac26f3fafdce7531911ea19eb72664d35 (diff)
downloadnixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar.gz
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar.bz2
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar.lz
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar.xz
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.tar.zst
nixpkgs-5d22f7afe1365188fe45f61cd14cc1f2f8b737c3.zip
nixos/acme: fix staging endpoint url
fixes #72067
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/acme.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix
index e08c7e965ee..cbeb99cfcef 100644
--- a/nixos/modules/security/acme.nix
+++ b/nixos/modules/security/acme.nix
@@ -198,7 +198,7 @@ in
                           ++ optionals (data.email != null) [ "--email" data.email ]
                           ++ concatMap (p: [ "-f" p ]) data.plugins
                           ++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)
-                          ++ optionals (!cfg.production) ["--server" "https://acme-staging.api.letsencrypt.org/directory"];
+                          ++ optionals (!cfg.production) ["--server" "https://acme-staging-v02.api.letsencrypt.org/directory"];
                 acmeService = {
                   description = "Renew ACME Certificate for ${cert}";
                   after = [ "network.target" "network-online.target" ];