# nginx logrotate snipet for Gentoo Linux

/var/log/nginx/*.log {
  rotate 52
  weekly
  notifempty
  sharedscripts
  postrotate
  /etc/init.d/nginx reload > /dev/null 2>&1 || true
  endscript
}