BBaoVanC
7c7191882e
I never used it because it's not very useful. Too much noise from bots, crawlers, etc.
23 lines
362 B
Caddyfile
23 lines
362 B
Caddyfile
# 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
|
|
}
|
|
|
|
import conf.d/*
|