2012-10-19 09:39:44 +02:00
|
|
|
/var/log/nginx/*.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+4096k
|
|
|
|
missingok
|
|
|
|
notifempty
|
2021-06-16 15:39:51 +02:00
|
|
|
delaycompress
|
|
|
|
lastaction
|
2016-10-10 12:26:20 +02: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 09:39:44 +02:00
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|