about summary refs log tree commit diff
path: root/ops/nixos/www/b.tvl.fyi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/www/b.tvl.fyi.nix')
-rw-r--r--ops/nixos/www/b.tvl.fyi.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/ops/nixos/www/b.tvl.fyi.nix b/ops/nixos/www/b.tvl.fyi.nix
new file mode 100644
index 000000000000..3d8a4068aa11
--- /dev/null
+++ b/ops/nixos/www/b.tvl.fyi.nix
@@ -0,0 +1,21 @@
+{ config, ... }:
+
+{
+  imports = [
+    ./base.nix
+  ];
+
+  config = {
+    services.nginx.virtualHosts."b.tvl.fyi" = {
+      serverName = "b.tvl.fyi";
+      enableACME = true;
+      forceSSL = true;
+
+      extraConfig = ''
+        location / {
+          proxy_pass http://localhost:${toString config.services.depot.panettone.port};
+        }
+      '';
+    };
+  };
+}