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