/mnt/logs/nginx.access.log { daily rotate 7 compress delaycompress missingok notifempty create 644 root root postrotate kill -USR1 `cat /mnt/logs/nginx.pid` endscript } /mnt/logs/nginx.error.log { daily rotate 7 compress delaycompress missingok notifempty create 644 root root postrotate kill -USR1 `cat /mnt/logs/nginx.pid` endscript } /mnt/logs/application.log { daily rotate 7 compress delaycompress missingok notifempty create 644 ubuntu ubuntu postrotate kill -USR1 `cat /mnt/logs/gunicorn.pid` endscript }