From 9993b0beba1fc9512da76125037e135786a99ebb Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 11 May 2020 01:15:48 +0100 Subject: feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi 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. --- ops/nixos/camden/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 9d82eb9de4..2eb8976da1 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"; } -- cgit 1.4.1