aboutsummaryrefslogtreecommitdiff
path: root/network/nginx/nginx.logrotate
blob: 626cebddba20e013b9edca5e1586b5156a4cbacc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/nginx/*.log {
  su @USER@ @GROUP@
  rotate 10
  notifempty
  size=5M
  compress
  delaycompress
  sharedscripts
  postrotate
    /etc/rc.d/rc.nginx rotate
  endscript
}