ea18e0
/var/log/nginx/*.log {
ea18e0
    create 0640 nginx root
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