This is for caddy 0.10.10
host.domain.tld {
# Enable HSTS
header / Strict-Transport-Security "max-age=31556926"
header / X-Frame-Options "SAMEORIGIN"
header / X-XSS-Protection "1; mode=block"
tls {
alpn http/1.1
}
timeouts {
read 1h
}
proxy / http://127.0.0.1:43110 {
transparent
websocket
}
}