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