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