caddy/Caddyfile

27 lines
391 B
Caddyfile
Raw Normal View History

2021-08-01 16:59:16 -05:00
# vim: ft=caddyfile
{
2021-08-03 18:40:32 -05:00
grace_period 60s
2021-08-01 16:59:16 -05:00
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/*