/var/log/nginx/error.log
{
	size 100M
	missingok
	rotate 12
	compress
	delaycompress
	notifempty
	dateext
	dateformat .%Y%m%d-%s
	sharedscripts
	postrotate
		kill -USR1 `cat /var/run/nginx.pid`
	endscript
}
