Welcome! Log In Create A New Profile

Advanced

Limit connections to mp4 files

February 18, 2013 07:04AM
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
Subject Author Posted

Limit connections to mp4 files

crirus February 18, 2013 07:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready