mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
nixos/acme: Suggest directory used security.acme.certs.<name>.webroot
This commit is contained in:
parent
40842049e8
commit
a7e31c64d9
@ -317,7 +317,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
|
||||
@ -550,12 +550,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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user