HttpLimitZoneModule + Varnish (frontend)
nginx-forum at nginx.us
Sat Jan 21 17:45:02 UTC 2012
I'm having some troubles with the Module LimitZone.
I want to limit simultaneous connections per client (IP) with
"limit_conn" but it doesn't work with Varnish-cache which is listening
to port 80 and NginX: 8080
To do some tests I put limit_conn to 1 and I tried to download two files
from my server
If I write this on my browser adress bar :
it works of course (I got the error 503) but this :
doesn't work: I can download more than 1 file.
I'm using php-fpm and $_SERVER['remote_addr'] give the right Client IP
Does anyone have a solution to my problem ?
Thanks in advance.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,221508,221508#msg-221508
More information about the nginx