caddy/Caddyfile

22 lines
292 B
Caddyfile

# vim: ft=caddyfile
{
grace_period 30s
import email
}
(basicerrors) {
handle_errors {
templates
rewrite * /index.html
root * /etc/caddy/errors
file_server
}
}
(hsts) {
header Strict-Transport-Security max-age=31536000
}
import conf.d/*