diff options
author | Vincent Ambo <mail@tazj.in> | 2020-06-18T23·56+0100 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2020-06-18T23·56+0100 |
commit | 94ead741ecbd4af66d7fcb3de01c068f6ab45b67 (patch) | |
tree | 61794314e8f31466fbcc21b6eb8043c7517609ed /users | |
parent | 0b0e8c2da77979eaea9e0b0da865d35bd86936d5 (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
Diffstat (limited to 'users')
-rw-r--r-- | users/tazjin/nixos/camden/default.nix | 4 |
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; |