/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 {
/mnt/logs/application.log {
create 644 ubuntu ubuntu
kill -USR1 `cat /mnt/logs/gunicorn.pid`