diff options
author | Griffin Smith <grfn@gws.fyi> | 2022-01-29T21·46-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-01-29T22·27+0000 |
commit | be91bc97a9f82d7e9d4e09a1b3bf7961b8a3c45e (patch) | |
tree | 1067722d2bf76e98313a343d37d366610b36321e /ops/modules | |
parent | 7b7dfa3bf2c768648ef4b1d1f35338c2923d4539 (diff) |
fix(tvl.fyi): Redirect /blog/ (with trailing /) to / r/3712
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 <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops/modules')
-rw-r--r-- | ops/modules/www/tvl.fyi.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 /; + } ''; }; }; |