From 94ead741ecbd4af66d7fcb3de01c068f6ab45b67 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 19 Jun 2020 00:56:38 +0100 Subject: feat(tazjin/camden): Redirect cs.tvl.fyi/ -> depot/ The homepage is not useful to us because there is only one repo here anyways. Change-Id: Ia4e77849dcc54b64bca8b87a3b7dfae3efc382da --- users/tazjin/nixos/camden/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users') diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix index 1ba69f1533..ccbdfbe034 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; -- cgit 1.4.1