about summary refs log tree commit diff
path: root/ops/nixos/www
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/www')
-rw-r--r--ops/nixos/www/tazj.in.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/nixos/www/tazj.in.nix b/ops/nixos/www/tazj.in.nix
index b90773f812a3..89ff6a8ee3d7 100644
--- a/ops/nixos/www/tazj.in.nix
+++ b/ops/nixos/www/tazj.in.nix
@@ -26,5 +26,10 @@ in {
         }
       '';
     };
+
+    services.nginx.virtualHosts."git.tazj.in" = {
+      enableACME = true;
+      extraConfig = "return 301 https://code.tvl.fyi$request_uri;";
+    };
   };
 }