Blog/Caddyfile
Marco Blessing d2645777c1
Adds additional caddy config keys (#7)
* test formatted Caddyfile

* add debug out
2022-01-11 14:17:41 +01:00

19 lines
241 B
Caddyfile

{
debug
admin off
auto_https off
}
:8080 {
root * /usr/share/caddy
file_server
encode gzip zstd
handle_errors {
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
file_server
}
}