summarylogtreecommitdiffstats
path: root/nginx.logrotate
blob: f6f7246159d3ca1f8b2df79ed99f9914a3d394e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/nginx/*log
/var/log/nginx/*/*log
{
  daily
  missingok
  create 640 http log
  compress
  postrotate
    [ ! -f /run/nginx.pid ] || kill -USR1 `cat /run/nginx.pid`
  endscript
}