Get the default configuration file lighttpd for Apache, optimized for CentOS Linux 8. This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/logrotate.d/lighttpd.
For more configurations and setup guides, visit our related files section to further customize your system.
/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 https://exampleconfig.com/static/raw/apache/centos8/etc/logrotate.d/lighttpd
curl https://exampleconfig.com/static/raw/apache/centos8/etc/logrotate.d/lighttpd > lighttpd.example
Other config files you might find useful