2021-06-01 17:28:30 +00:00
|
|
|
/var/log/nginx/*.log {
|
|
|
|
create 0640 nginx root
|
2007-03-24 18:31:48 +00:00
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
2021-10-18 22:55:11 +00:00
|
|
|
delaycompress
|
2007-03-24 18:31:48 +00:00
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2015-07-03 12:35:51 +00:00
|
|
|
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
2007-03-24 18:31:48 +00:00
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|