fixes nginx access log rotate issue