/etc/logrotate.d
NameSizeModeActions
alternatives1200644editdlrm
apport1260644editdlrm
apt1730644editdlrm
bootlog910644editdlrm
btmp1300644editdlrm
certbot820644editdlrm
dpkg1120644editdlrm
mysql-server8450644editdlrm
nginx3290644editdlrm
php7.4-fpm1550644editdlrm
rsyslog5010644editdlrm
ubuntu-advantage-tools1190644editdlrm
ufw1780644editdlrm
unattended-upgrades2350644editdlrm
wtmp1450644editdlrm
Edit: /etc/logrotate.d/nginx (329B)
/var/log/nginx/*.log { daily missingok rotate 14 compress delaycompress notifempty create 0640 www-data adm sharedscripts prerotate if [ -d /etc/logrotate.d/httpd-prerotate ]; then \ run-parts /etc/logrotate.d/httpd-prerotate; \ fi \ endscript postrotate invoke-rc.d nginx rotate >/dev/null 2>&1 endscript }