From 665f131dda5049fc7a7887cdef5fe0d20eb01146 Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 11 Jun 2020 18:19:51 -0700 Subject: feat(camden): add builds shortlink Change-Id: Iedd524d775349f24c13fe7c118830b7d4dfdec49 Reviewed-on: https://cl.tvl.fyi/c/depot/+/81 Reviewed-by: tazjin --- ops/nixos/camden/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 46e0a3981c8b..32d75147b7a1 100644 --- a/ops/nixos/camden/default.nix +++ b/ops/nixos/camden/default.nix @@ -381,11 +381,12 @@ in lib.fix(self: { extraConfig = '' add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; + rewrite ^/builds/?$ https://builds.sr.ht/~tazjin/depot last; rewrite ^/meet/?$ https://meet.google.com/mng-biyw-xbb last; rewrite ^/monorepo-doc/?$ https://docs.google.com/document/d/1nnyByXcH0F6GOmEezNOUa2RFelpeRpDToBLYD_CtjWE/edit?usp=sharing last; - rewrite ^/irc/?$ ircs://chat.freenode.net:6697/##tvl; + rewrite ^/irc/?$ ircs://chat.freenode.net:6697/##tvl last; location ~* \.(webp|woff2)$ { add_header Cache-Control "public, max-age=31536000"; -- cgit 1.4.1