diff options
author | Vincent Ambo <mail@tazj.in> | 2021-02-10T17·35+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-02-10T17·38+0000 |
commit | 8d7c24d3db5ee743c6a9d40b3f53929f8723e0e7 (patch) | |
tree | a6fb5da96b6885ae1ba837285d362fde3ac76e31 /ops/nixos/www/tazj.in.nix | |
parent | 58020730cd4b52df1583197b0cc70b6d964f628e (diff) |
fix(ops/www/tazj.in): Redirect git.tazj.in to our cgit r/2200
Change-Id: Ia0be95e2618aeb4f8d394a8e3602c73faec0d72f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2508 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos/www/tazj.in.nix')
-rw-r--r-- | ops/nixos/www/tazj.in.nix | 5 |
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;"; + }; }; } |