@cryptotaxi247 / infra-1 / commits / e20bf1ce

subdir the acmeWebRoots

Graham Christensen committed Aug 30, 2017 at 08:40 UTC e20bf1cee567d765f1034f2a57c31c5b8fc5faa9
1 file changed +2 -2
nixos-org/webserver.nix
+2 -2
@@ -25,7 +25,7 @@ let
25 dir = "/releases";
26 }
27 { urlPath = "/.well-known/acme-challenge";
28 - dir = "${acmeWebRoot}/.well-known/acme-challenge";
28 + dir = "${acmeWebRoot}/nixos.org/.well-known/acme-challenge";
29 }
30 ];
31
@@ -232,7 +232,7 @@ in
232 # Let's Encrypt configuration.
233 security.acme.certs."nixos.org" =
234 { email = "edolstra@gmail.com";
235 - webroot = acmeWebRoot;
235 + webroot = "${acmeWebRoot}/nixos.org";
236 postRun = "systemctl reload httpd.service";
237 };
238