summaryrefslogtreecommitdiff
path: root/network/nginx/nginx.logrotate
blob: d95c80844992ab4b462cf16b9be6c8cee37ae201 (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/nginx/*_log {
  rotate 10
  notifempty
  size=5M
  compress
  delaycompress
  sharedscripts
  postrotate
    /etc/rc.d/rc.nginx rotate
  endscript
}