/var/log/nghttpx/*.log {
  weekly
  rotate 52
  missingok
  compress
  delaycompress
  notifempty
  postrotate
    [ -s /var/run/nghttpx.pid ] && kill -USR1 `cat /var/run/nghttpx.pid` 2> /dev/null || true
  endscript
}
