graphene-os-server-infrastr.../logrotate.d/nginx
2021-08-27 03:55:18 -04:00

15 lines
261 B
Plaintext

/var/log/nginx/*log {
missingok
notifempty
create 640 http log
sharedscripts
compress
postrotate
test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
endscript
daily
rotate 10
maxage 10
delaycompress
}