1 2 3 4 5 6 7
/var/log/nginx/*log { create 640 http log compress postrotate nginx -s reopen endscript }