nginx/nginx.logrotate

14 lines
225 B
Plaintext
Raw Normal View History

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