aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-17 01:43:18 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-17 01:43:18 +0200
commit9ade8f6eb774dc7d19d82a070199b5024786b819 (patch)
treee5a2d49050d4a426fa1d0412d88bbfab11b500d3 /nixops/modules/websites
parent182ae57f53731be220075bc87aff4d47a35563b8 (diff)
downloadNix-9ade8f6eb774dc7d19d82a070199b5024786b819.tar.gz
Nix-9ade8f6eb774dc7d19d82a070199b5024786b819.tar.zst
Nix-9ade8f6eb774dc7d19d82a070199b5024786b819.zip
Use acme directory config rather than hardcoding the value
Diffstat (limited to 'nixops/modules/websites')
-rw-r--r--nixops/modules/websites/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/websites/default.nix b/nixops/modules/websites/default.nix
index 5b839af..432ad3c 100644
--- a/nixops/modules/websites/default.nix
+++ b/nixops/modules/websites/default.nix
@@ -179,7 +179,7 @@ in
179 179
180 system.activationScripts = { 180 system.activationScripts = {
181 httpd = '' 181 httpd = ''
182 install -d -m 0755 /var/lib/acme/acme-challenge 182 install -d -m 0755 ${config.security.acme.directory}/acme-challenge
183 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/sessions 183 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/sessions
184 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/sessions/adminer 184 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/sessions/adminer
185 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/tmp/adminer 185 install -d -m 0750 -o wwwrun -g wwwrun /var/lib/php/tmp/adminer