This is the default example configuration of lighttpd provided by Apache. This config file was generated by Apache running on CentOS 8.
It is located under: /etc/logrotate.d/lighttpd
/var/log/lighttpd/*log {
missingok
notifempty
sharedscripts
postrotate
/usr/bin/killall -HUP lighttpd &>/dev/null || :
endscript
}
Download the raw file with wget or curl
wget -O lighttpd.example http://exampleconfig.com/static/raw/apache/centos8/etc/logrotate.d/lighttpd
curl http://exampleconfig.com/static/raw/apache/centos8/etc/logrotate.d/lighttpd > lighttpd.example
Other config files you might find useful