view common/logrotate-httpd @ 373:c68883dde00b

Increase HSTS header duration Apparently 6 months isn't long enough and we need at least 12
author IBBoard <dev@ibboard.co.uk>
date Tue, 15 Jun 2021 19:30:24 +0100
parents 956e484adc12
children
line wrap: on
line source

/var/log/apache/*log {
    monthly
    rotate 3
    missingok
    compress
    notifempty
    sharedscripts
    postrotate
        /sbin/service httpd reload > /dev/null 2>/dev/null || true
    endscript
}