2012-10-19 09:39:44 +02:00
|
|
|
/var/log/nginx/*.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+4096k
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
create 644 root root
|
|
|
|
postrotate
|
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
|
|
|
|
}
|
|
|
|
|