limit_rate_after does not work inside location block

sachin.shetty@gmail.com nginx-forum at forum.nginx.org
Wed Oct 16 09:21:41 UTC 2019


Hi,

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.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285895,285895#msg-285895



More information about the nginx mailing list