view common/logrotate-httpd @ 472:73e28468a543

Fix HTTP on IPv6 We don't need the remote IP instruction on both redirects, just on the IPv4-to-6 proxy redirect
author IBBoard <dev@ibboard.co.uk>
date Tue, 21 May 2024 20:15:05 +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
}