about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-05-11T00·15+0100
committerVincent Ambo <tazjin@google.com>2020-05-11T00·24+0100
commit9993b0beba1fc9512da76125037e135786a99ebb (patch)
tree44ebd0221d530ec52e2819f706afb7cbf708dfe3 /ops
parent0b95afa9e936dd7fb9fc55fff0a2b32fc0da465c (diff)
feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi r/711
I'm too lazy to keep going to the website to click the button
and also too lazy to add my own redirect.

Add one to tvl.fyi.
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/camden/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 9d82eb9de46f..2eb8976da138 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -326,6 +326,8 @@ in lib.fix(self: {
       extraConfig = ''
         add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
 
+        rewrite ^/meet/?$ https://meet.google.com/mng-biyw-xbb last;
+
         location ~* \.(webp|woff2)$ {
           add_header Cache-Control "public, max-age=31536000";
         }