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 {
default = "https://acme-v01.api.letsencrypt.org/directory";
example = "https://acme-staging.api.letsencrypt.org/directory";
default = "https://acme-v02.api.letsencrypt.org/directory";
example = "https://acme-staging-v02.api.letsencrypt.org/directory";
type = types.string;
description = "Certificate authority ACME server. The default (Let's Encrypt production server) should be fine for most people.";
};