Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Limit connections to mp4 files

$
0
0
Hello

I set this to my nginx config to prevent users playing multiple videos at
the same time:

http {
limit_conn_zone $binary_remote_addr zone=addr:10m;
server {
location ~ \.mp4$ {
limit_conn addr 2;
limit_conn_log_level info;


This doesn't seems to prevent anyone from playing at least three videos at
once...
What am I doing wrong here?


---------------------------------------------------------------
Cristian Rusu
Web Developement & Electronic Publishing

======
Crilance.com
Crilance.blogspot.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>