2012-10-19 07:39:44 +00:00
|
|
|
/var/log/nginx/*.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+4096k
|
|
|
|
missingok
|
|
|
|
notifempty
|
2021-06-16 13:39:51 +00:00
|
|
|
delaycompress
|
|
|
|
lastaction
|
2016-10-10 10:26:20 +00:00
|
|
|
# -s reopen will use the pid file passed in the config file or the compiled in default path
|
|
|
|
/usr/sbin/nginx -s reopen
|
2012-10-19 07:39:44 +00:00
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|