Bandwidth limiting per virtualhost

Hi guys,

I am managing a high traffic website. I have some embedded images that
get a lot of traffic, and i would like to separate the traffic for the
embeds, and the images that are viewed from the site on 2 virtual hosts.

I would like to limit the embeds let’s say to 50 mb/s so they don’t eat
up all the available bandwidth.

Any suggestions on how can i achieve this by any chance?

Thanks in advance.

I’m interested by the answer too, after lot of searching, it seems we
can
only limit clients bandwidth, or whatever we want request rate.
Documentation on throttling bandwidth of a location or a virtual-host is
lacking.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236319,245060#msg-245060

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs