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