acme: fix acmeroot
This commit is contained in:
parent
ca3205346e
commit
1675c5f193
1 changed files with 1 additions and 3 deletions
|
@ -4,13 +4,11 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
acmeRoot = "/var/lib/acme/challenges";
|
|
||||||
|
|
||||||
mkAcmeCert = domain: {
|
mkAcmeCert = domain: {
|
||||||
# An acme system user is created. This user belongs to the acme group
|
# An acme system user is created. This user belongs to the acme group
|
||||||
# and the home directory is /var/lib/acme. This user will try to make the directory
|
# and the home directory is /var/lib/acme. This user will try to make the directory
|
||||||
# .well-known/acme-challenge/ under the webroot directory.
|
# .well-known/acme-challenge/ under the webroot directory.
|
||||||
webroot = "${acmeRoot}-${domain}";
|
webroot = "/var/lib/acme";
|
||||||
|
|
||||||
# email to send updates to, we prefix "acme" and the
|
# email to send updates to, we prefix "acme" and the
|
||||||
# name of the domain the certificate is for to it.
|
# name of the domain the certificate is for to it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue