linux/conf/logrotate/nginx-logs

10 lines
117 B
Plaintext

/data/log/nginx/*.log {
compress
dateext
rotate 8
missingok
postrotate
/usr/sbin/nginx -s reopen
endscript
}