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