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