1/var/log/nginx/*log {
2	missingok
3	create 640 http log
4	sharedscripts
5	compress
6	postrotate
7		test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
8	endscript
9}
10