/var/log/nginx/*.log {
su @USER@ @GROUP@
rotate 10
notifempty
size=5M
compress
delaycompress
sharedscripts
postrotate
/etc/rc.d/rc.nginx rotate
endscript
}