aboutsummaryrefslogtreecommitdiff
path: root/network/nginx/nginx.logrotate
blob: d4eb96a935d1b3828c0a6d6e20489f6a17cfcad3 (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
}