From 433f0ae5cd43a2d3affb6f14bc5b9b9b19a6e37f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 1 Dec 2021 23:41:23 +0300 Subject: [PATCH] fix(ops/www): Redirect tvl.fyi/blog -> tvl.fyi The blog index page is at the root and people may manually edit the URL. Change-Id: I6cdaaaee6223524a9e950584379cfac34f8be160 --- ops/modules/www/tvl.fyi.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ops/modules/www/tvl.fyi.nix b/ops/modules/www/tvl.fyi.nix index cd7c496a9..f422bb848 100644 --- a/ops/modules/www/tvl.fyi.nix +++ b/ops/modules/www/tvl.fyi.nix @@ -33,6 +33,10 @@ try_files $uri $uri.html $uri/ =404; } + + location = /blog { + return 302 /; + } ''; }; };