Configs for the Caddy webserver
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
435 B

# vim: ft=caddyfile
{
grace_period 60s
import email
#acme_ca "https://acme-staging-v02.api.letsencrypt.org/directory"
}
(basicerrors) {
handle_errors {
templates
rewrite * /index.html
root * /etc/caddy/errors
file_server
}
}
(hsts) {
header Strict-Transport-Security max-age=31536000
}
(log) {
log {
output file /var/log/caddy/access.log
}
}
import conf.d/*