about summary refs log tree commit diff
path: root/ops/nixos/www/cache.tvl.su.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/www/cache.tvl.su.nix')
-rw-r--r--ops/nixos/www/cache.tvl.su.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/ops/nixos/www/cache.tvl.su.nix b/ops/nixos/www/cache.tvl.su.nix
deleted file mode 100644
index 182306bebff1..000000000000
--- a/ops/nixos/www/cache.tvl.su.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ config, ... }:
-
-{
-  imports = [
-    ./base.nix
-  ];
-
-  config = {
-    services.nginx.virtualHosts."cache.tvl.su" = {
-      serverName = "cache.tvl.su";
-      serverAliases = [ "cache.tvl.fyi" ];
-      enableACME = true;
-      forceSSL = true;
-
-      extraConfig = ''
-        location = /cache-key.pub {
-          alias /etc/secrets/nix-cache-key.pub;
-        }
-
-        location / {
-          proxy_pass http://localhost:${toString config.services.nix-serve.port};
-        }
-      '';
-    };
-  };
-}