2021-11-08 19:15:57 -06:00
|
|
|
# vim: ft=caddyfile
|
|
|
|
|
2022-05-24 23:08:09 -05:00
|
|
|
www.bbaovanc.com, boba.best, www.boba.best {
|
2023-01-07 20:51:15 -06:00
|
|
|
import hsts
|
2022-05-24 23:08:09 -05:00
|
|
|
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 br gzip
|
|
|
|
}
|
|
|
|
|
|
|
|
import basicerrors
|
|
|
|
}
|