about summary refs log tree commit diff
path: root/users/glittershark/system/system/machines/mugwump.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-04-01T14·20-0400
committerglittershark <grfn@gws.fyi>2021-04-01T14·32+0000
commit19b3cfb9b633667db4a12360c8ac178db8fc5561 (patch)
tree6b58e29d5435dc821d2272afe0b997b8af34d125 /users/glittershark/system/system/machines/mugwump.nix
parent892fcdc5ab37cde86b9407986ccbf4ee4f45eee4 (diff)
feat(gs/mugwump): Switch to cloudflare as lego provider r/2387
Change-Id: Iba48c8ac8c45075ecb9741572bca9cea4f8b0f9d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2748
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/system/system/machines/mugwump.nix')
-rw-r--r--users/glittershark/system/system/machines/mugwump.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/users/glittershark/system/system/machines/mugwump.nix b/users/glittershark/system/system/machines/mugwump.nix
index 12524ffeb9..77c4dda9a5 100644
--- a/users/glittershark/system/system/machines/mugwump.nix
+++ b/users/glittershark/system/system/machines/mugwump.nix
@@ -141,8 +141,8 @@ with lib;
   };
 
   security.acme.certs."metrics.gws.fyi" = {
-    dnsProvider = "namecheap";
-    credentialsFile = "/etc/secrets/namecheap.env";
+    dnsProvider = "cloudflare";
+    credentialsFile = "/etc/secrets/cloudflare.env";
     webroot = mkForce null;
   };
 
@@ -211,9 +211,10 @@ with lib;
       scrape_interval = "5s";
       static_configs = [{
         targets = [
-          "https://www.gws.fyi"
+          "https://gws.fyi"
           "https://windtunnel.ci"
           "https://app.windtunnel.ci"
+          "https://metrics.gws.fyi"
         ];
       }];
       relabel_configs = [{