nginx/nginx.logrotate

14 lines
224 B
Plaintext

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