about summary refs log tree commit diff
path: root/ops/nixos/camden
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-06-12T01·19-0700
committertazjin <mail@tazj.in>2020-06-13T05·06+0000
commit665f131dda5049fc7a7887cdef5fe0d20eb01146 (patch)
tree30ad8829fefadbb6722e0d7d526a6a3c7d53e90f /ops/nixos/camden
parentb88cbe0dabf68a7f6374e6c57db543280956d295 (diff)
feat(camden): add builds shortlink r/933
Change-Id: Iedd524d775349f24c13fe7c118830b7d4dfdec49
Reviewed-on: https://cl.tvl.fyi/c/depot/+/81
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos/camden')
-rw-r--r--ops/nixos/camden/default.nix3
1 files changed, 2 insertions, 1 deletions
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";