Hello!

On Wed, Oct 16, 2019 at 05:21:41AM -0400, [email protected] wrote:

> I have a location block 
> 
> location ~ /get_file$ {
>             limit_rate_after 500m;
>             limit_rate 1m;
> ...
> ...
> }
> 
> The limit_rate_after does not work when put inside the location block, if I
> move it right above the location line i.e. inside server block, it works. 
> 
> Any idea on how to make it work inside location and if block.

It does work, as long as the response is returned within the location 
in question.  If it doesn't work, likely the response is returned 
elsewhere.

-- 
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to