From e90e69c6117a3366374c74d29687b9b126b3ca80 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 14 May 2023 00:48:23 -0500 Subject: [PATCH] Move redirects from Hugo to Caddy --- conf.d/bbaovanc.com | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf.d/bbaovanc.com b/conf.d/bbaovanc.com index a468461..0608b2c 100644 --- a/conf.d/bbaovanc.com +++ b/conf.d/bbaovanc.com @@ -10,6 +10,13 @@ bbaovanc.com { redir /contact / redir /contact/ / + redir /blog/links/ /links/ + redir /blog/posts /blog/ + redir /blog/posts/ /blog/ + handle_path /blog/posts/* { + redir * /blog{uri} + } + redir /blog/sed-text-substitution-in-discord/ /blog/text-substitution-in-discord-using-sed/ header Cache-Control no-cache root * /var/www/bbaovanc.com/public