Limit connections to mp4 files

Cristian Rusu crirus at gmail.com
Mon Feb 18 12:01:32 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130218/764cc508/attachment.html>


More information about the nginx mailing list