/var/log/cpnginx.*.log { rotate 10 daily missingok notifempty compress postrotate /usr/local/nginx/sbin/nginx -s reload &> /dev/null || true endscript }