caddy/Caddyfile
2021-08-14 15:11:13 -05:00

27 lines
391 B
Caddyfile

# vim: ft=caddyfile
{
grace_period 60s
import email
}
#{
# servers :443 {
# protocol {
# experimental_http3
# }
# }
#}
(basicerrors) {
handle_errors {
#respond "{http.error.status_code} {http.error.status_text}"
rewrite * /{http.error.status_code}.jpg
root * /var/www/errors
file_server
}
}
import conf.d/*