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