Move redirects from Hugo to Caddy

This commit is contained in:
BBaoVanC 2023-05-14 00:48:23 -05:00
parent a7076a3e3d
commit e90e69c611

View File

@ -10,6 +10,13 @@ bbaovanc.com {
redir /contact / redir /contact /
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 header Cache-Control no-cache
root * /var/www/bbaovanc.com/public root * /var/www/bbaovanc.com/public