about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-18T23·56+0100
committerVincent Ambo <mail@tazj.in>2020-06-18T23·56+0100
commit94ead741ecbd4af66d7fcb3de01c068f6ab45b67 (patch)
tree61794314e8f31466fbcc21b6eb8043c7517609ed
parent0b0e8c2da77979eaea9e0b0da865d35bd86936d5 (diff)
feat(tazjin/camden): Redirect cs.tvl.fyi/ -> depot/ r/1026
The homepage is not useful to us because there is only one repo here
anyways.

Change-Id: Ia4e77849dcc54b64bca8b87a3b7dfae3efc382da
-rw-r--r--users/tazjin/nixos/camden/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix
index 1ba69f1533d3..ccbdfbe03407 100644
--- a/users/tazjin/nixos/camden/default.nix
+++ b/users/tazjin/nixos/camden/default.nix
@@ -402,6 +402,10 @@ in lib.fix(self: {
       forceSSL = true;
 
       extraConfig = ''
+        location = / {
+          return 301 https://cs.tvl.fyi/depot;
+        }
+
         location / {
           proxy_set_header X-Sg-Auth "Anonymous";
           proxy_pass http://localhost:3463;