2016-05-26 12:48:52 +00:00
|
|
|
/var/log/nginx/*log {
|
|
|
|
missingok
|
2016-11-19 00:37:36 +00:00
|
|
|
notifempty
|
2016-05-26 12:48:52 +00:00
|
|
|
create 640 http log
|
|
|
|
sharedscripts
|
|
|
|
compress
|
|
|
|
postrotate
|
|
|
|
test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
|
|
|
|
endscript
|
|
|
|
}
|