nginx/nginx.logrotate
2010-12-12 17:46:45 -07:00

13 lines
176 B
Plaintext

/var/log/nginx/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/etc/init.d/nginx reopen_logs
endscript
}