Move redirects from Hugo to Caddy
This commit is contained in:
parent
a7076a3e3d
commit
e90e69c611
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user