Welcome! Log In Create A New Profile

Advanced

limit_rate_after does not work inside location block

October 16, 2019 05:21AM
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.
Subject Author Posted

limit_rate_after does not work inside location block

sachin.shetty@gmail.com October 16, 2019 05:21AM

Re: limit_rate_after does not work inside location block

Maxim Dounin October 16, 2019 08:40AM

Re: limit_rate_after does not work inside location block

sachin.shetty@gmail.com October 16, 2019 09:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready