Forum: NGINX Limit connections to mp4 files

Posted by Cristian R. (cristian_r)
on 2013-02-18 13:02
(Received via mailing list)
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?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.