caddy/conf.d/bbaovanc.com

29 lines
613 B
Plaintext
Raw Normal View History

2021-11-08 19:15:57 -06:00
# vim: ft=caddyfile
www.bbaovanc.com, boba.best, www.boba.best {
2023-01-07 20:51:15 -06:00
import hsts
redir https://bbaovanc.com{uri} 308
2021-11-08 19:15:57 -06:00
}
bbaovanc.com {
import hsts
2023-05-14 00:29:08 -05:00
redir /contact /
redir /contact/ /
2023-05-14 00:48:23 -05:00
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/
2023-05-14 00:29:08 -05:00
2021-11-08 19:15:57 -06:00
header Cache-Control no-cache
root * /var/www/bbaovanc.com/public
file_server {
precompressed zstd br gzip
2021-11-08 19:15:57 -06:00
}
import basicerrors
}