/usr/local/kong/logs/*.log {
  su kong kong
  rotate 14
  daily
  missingok
  compress
  delaycompress
  notifempty
  sharedscripts
  postrotate
  if [ -f /usr/local/kong/pids/nginx.pid ]; then
    kill -USR1 `cat /usr/local/kong/pids/nginx.pid`
  fi
  endscript
}
