/var/log/nginx/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/systemctl kill --signal=USR1 nginx.service
endscript
}