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