nixos/caddy: fix ca api endpoint, now uses v2

This commit is contained in:
Franz Pletz 2018-04-27 01:03:28 +02:00
parent 6ca343103b
commit dc62e8509a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -25,8 +25,8 @@ in {
}; };
ca = mkOption { ca = mkOption {
default = "https://acme-v01.api.letsencrypt.org/directory"; default = "https://acme-v02.api.letsencrypt.org/directory";
example = "https://acme-staging.api.letsencrypt.org/directory"; example = "https://acme-staging-v02.api.letsencrypt.org/directory";
type = types.string; type = types.string;
description = "Certificate authority ACME server. The default (Let's Encrypt production server) should be fine for most people."; description = "Certificate authority ACME server. The default (Let's Encrypt production server) should be fine for most people.";
}; };