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!

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

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to