summarylogtreecommitdiffstats
path: root/logrotate
blob: 6fcf5581a75cd52f6613dd856e9c4afd782ec6ac (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/nginx/*log {
	missingok
	notifempty
	create 640 http log
	sharedscripts
	compress
	postrotate
		test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
	endscript
}