/var/log/nginx/*log { missingok create 750 root log sharedscripts compress postrotate test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid` endscript }