Limit_rate not for client but for virualhost or entire nginx

Is there a way to limit the bandwith consumed by the full nginx server?
or by a virtual host?

Posted at Nginx Forum: