nginx/nginx.logrotate

13 lines
194 B
Plaintext
Raw Normal View History

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