public-service-caddy/config/Caddyfile

27 lines
376 B
Caddyfile
Raw Normal View History

2024-05-01 18:57:26 +00:00
{
log {
exclude http.log.access
}
log access {
format json
output file /data/logs/access.log {
roll_size 1gb
roll_keep 5
roll_keep_for 720h
}
}
}
(default-headers) {
header {
?Cache-Control max-age=3600
Strict-Transport-Security max-age=63072000; preload
X-Content-Type-Options nosniff
X-Frame-Options SAMEORIGIN
-Server
}
}
import *.caddy