Hello,
I wonder is there any way to limit_rate based on file extension in Nginx,
for example, putting different rate limit rules on flv and mp4?
I've tried this, but somehow returned file not found
location ~* \.(flv|f4v)$ {
limit_rate_after 1m;
limit_rate 80k;
}
location ~* \.(mp4|m4v)$ {
limit_rate_after 3m;
limit_rate 80k;
}
Your help is really appreciate!