about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-21T02·05+0100
committerVincent Ambo <tazjin@google.com>2020-04-21T02·05+0100
commit1229621d7bb945f7d2b1a7323e25b840314857be (patch)
tree10e4ce5a9987c4f67064052d7dbda8c3b9f71428 /ops
parent97c7ebf7581e87ff23804fd7f2441646386fda3c (diff)
feat(ops/nixos/camden): Provision certificate for tvl.fyi r/648
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/camden/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 46e9b9c554..b941be03c7 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -183,6 +183,13 @@ in lib.fix(self: {
       };
       postRun = "systemctl reload nginx";
     };
+
+    certs."tvl.fyi" = {
+      user = "nginx";
+      group = "nginx";
+      webroot = "/var/lib/acme/acme-challenge";
+      postRun = "systemctl reload nginx";
+    };
   };
 
   # Forward logs to Google Cloud Platform