From be91bc97a9f82d7e9d4e09a1b3bf7961b8a3c45e Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 29 Jan 2022 16:46:58 -0500 Subject: fix(tvl.fyi): Redirect /blog/ (with trailing /) to / This was already happening without the trailing slash, but needs to happen separately with it. Fixes: b/172 Change-Id: Ic3423fd7a2eaf76a073badd80965cee953df4ce9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5121 Tested-by: BuildkiteCI Autosubmit: grfn Reviewed-by: tazjin --- ops/modules/www/tvl.fyi.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ops/modules/www') diff --git a/ops/modules/www/tvl.fyi.nix b/ops/modules/www/tvl.fyi.nix index f422bb84878a..902c81b72072 100644 --- a/ops/modules/www/tvl.fyi.nix +++ b/ops/modules/www/tvl.fyi.nix @@ -37,6 +37,10 @@ location = /blog { return 302 /; } + + location = /blog/ { + return 302 /; + } ''; }; }; -- cgit 1.4.1