This is the default example configuration of httpd provided by Apache. This config file was generated by Apache running on CentOS 7.
It is located under: /etc/logrotate.d/httpd
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
Download the raw file with wget or curl
wget -O httpd.example http://exampleconfig.com/static/raw/apache/centos7/etc/logrotate.d/httpd
curl http://exampleconfig.com/static/raw/apache/centos7/etc/logrotate.d/httpd > httpd.example
Other config files you might find useful