2024-06-07 11:38:18 +00:00
|
|
|
/var/log/nginx/*.log {
|
|
|
|
create 0640 nginx root
|
2019-11-05 19:39:27 +00:00
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
2024-06-07 11:38:18 +00:00
|
|
|
delaycompress
|
2019-11-05 19:39:27 +00:00
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|