public-service-caddy/config/Caddyfile
2024-05-01 20:57:26 +02:00

27 lines
376 B
Caddyfile

{
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