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