nginx won't honor limit_rate
mdounin at mdounin.ru
Wed Sep 28 23:23:28 UTC 2011
On Wed, Sep 28, 2011 at 07:06:56PM -0400, mojiz wrote:
> I have an nginx server
> nginx version: nginx/1.1.2
> I'm using limit_rate to limt download speed of my users however after an
> upgrade(I can't remember the version)
> it doesn't work anymore.
> Do you know why or how can I debug this?
> The debug log doesn't show anything.
> BTW I'm using nginx_proxy to send a file from my backends to my users.
> I have used X-Accel-Limit-Rate, limit_rate and $limit_rate but neither
Most likely you are using "proxy_buffering off;", it disables any
buffering including limit_rate one.
If in doubt, please follow http://wiki.nginx.org/Debugging.
More information about the nginx