TVL depot development (mail to depot@tvl.su)
 help / color / mirror / code / Atom feed
From: lukegb@hg•lukegb.com
To: depot@tazj.in
Cc: Luke Granger-Brown <git@lukegb•com>
Subject: [PATCH] feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi
Date: Mon, 11 May 2020 01:15:48 +0100	[thread overview]
Message-ID: <20200511001548.18534-1-lukegb@hg.lukegb.com> (raw)

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



                 reply	other threads:[~2020-05-11  0:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200511001548.18534-1-lukegb@hg.lukegb.com \
    --to=lukegb@hg$(echo .)lukegb.com \
    --cc=depot@tazj.in \
    --cc=git@lukegb$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).