bloggy/Caddyfile
2021-12-26 15:24:09 -05:00

11 lines
203 B
Caddyfile

localhost {
templates
encode zstd gzip
root * /path/to/bloggy # Change this
file_server
rewrite /blog/* blog.html
handle_errors {
respond "{http.error.status_code} {http.error.status_text}"
}
}