summaryrefslogtreecommitdiffstats
path: root/nixos/modules/security/acme.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/security/acme.nix')
-rw-r--r--nixos/modules/security/acme.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix
index 6b62e5043caf..c33a92580d4c 100644
--- a/nixos/modules/security/acme.nix
+++ b/nixos/modules/security/acme.nix
@@ -346,7 +346,7 @@ let
webroot = mkOption {
type = types.nullOr types.str;
default = null;
- example = "/var/lib/acme/acme-challenges";
+ example = "/var/lib/acme/acme-challenge";
description = ''
Where the webroot of the HTTP vhost is located.
<filename>.well-known/acme-challenge/</filename> directory
@@ -579,12 +579,12 @@ in {
example = literalExample ''
{
"example.com" = {
- webroot = "/var/www/challenges/";
+ webroot = "/var/lib/acme/acme-challenge/";
email = "foo@example.com";
extraDomainNames = [ "www.example.com" "foo.example.com" ];
};
"bar.example.com" = {
- webroot = "/var/www/challenges/";
+ webroot = "/var/lib/acme/acme-challenge/";
email = "bar@example.com";
};
}