638e8a
/var/log/nginx/*log {
638e8a
    daily
638e8a
    rotate 10
638e8a
    missingok
638e8a
    notifempty
638e8a
    compress
d9041e
    delaycompress
638e8a
    sharedscripts
638e8a
    postrotate
638e8a
        /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
638e8a
    endscript
638e8a
}
638e8a