diff options
author | Vincent Ambo <tazjin@google.com> | 2020-04-21T02·05+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-04-21T02·05+0100 |
commit | 1229621d7bb945f7d2b1a7323e25b840314857be (patch) | |
tree | 10e4ce5a9987c4f67064052d7dbda8c3b9f71428 /ops | |
parent | 97c7ebf7581e87ff23804fd7f2441646386fda3c (diff) |
feat(ops/nixos/camden): Provision certificate for tvl.fyi r/648
Diffstat (limited to 'ops')
-rw-r--r-- | ops/nixos/camden/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 46e9b9c55422..b941be03c7d1 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 |