Merge pull request #108819 from SuperSandro2000/nginx-module
This commit is contained in:
commit
fccda5aae6
@ -346,7 +346,7 @@ let
|
|||||||
webroot = mkOption {
|
webroot = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
example = "/var/lib/acme/acme-challenges";
|
example = "/var/lib/acme/acme-challenge";
|
||||||
description = ''
|
description = ''
|
||||||
Where the webroot of the HTTP vhost is located.
|
Where the webroot of the HTTP vhost is located.
|
||||||
<filename>.well-known/acme-challenge/</filename> directory
|
<filename>.well-known/acme-challenge/</filename> directory
|
||||||
@ -579,12 +579,12 @@ in {
|
|||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
{
|
{
|
||||||
"example.com" = {
|
"example.com" = {
|
||||||
webroot = "/var/www/challenges/";
|
webroot = "/var/lib/acme/acme-challenge/";
|
||||||
email = "foo@example.com";
|
email = "foo@example.com";
|
||||||
extraDomainNames = [ "www.example.com" "foo.example.com" ];
|
extraDomainNames = [ "www.example.com" "foo.example.com" ];
|
||||||
};
|
};
|
||||||
"bar.example.com" = {
|
"bar.example.com" = {
|
||||||
webroot = "/var/www/challenges/";
|
webroot = "/var/lib/acme/acme-challenge/";
|
||||||
email = "bar@example.com";
|
email = "bar@example.com";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ in
|
|||||||
|
|
||||||
acmeRoot = mkOption {
|
acmeRoot = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/var/lib/acme/acme-challenges";
|
default = "/var/lib/acme/acme-challenge";
|
||||||
description = "Directory for the acme challenge which is PUBLIC, don't put certs or keys in here";
|
description = "Directory for the acme challenge which is PUBLIC, don't put certs or keys in here";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user