* [PATCH] feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi
@ 2020-05-11 0:15 lukegb
0 siblings, 0 replies; only message in thread
From: lukegb @ 2020-05-11 0:15 UTC (permalink / raw)
To: depot; +Cc: Luke Granger-Brown
From: Luke Granger-Brown <git@lukegb•com>
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 9d82eb9..2eb8976 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";
}
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-11 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 0:15 [PATCH] feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi lukegb
Code repositories for project(s) associated with this public inbox
https://code.tvl.fyi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).