summarylogtreecommitdiffstats
path: root/logrotate
blob: e0afbb92702173783fee63d0d85119786825ccb7 (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 /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
	endscript
}