Re: не срабатывает Limit_conn

Борис Долгов boris at dolgov.name
Sun Jan 18 19:21:38 MSK 2009


А почему у объявляемой и ограничеваемой зоны разные имена?

2009/1/18 Артем Паньков <artem at pankov.biz>

> Здравствуйте
>
> FreeBSD 7 + nginx 0.6.32
>
> http {
> ....
> limit_zone zaposti $binary_remote_addr 10m;
> ...
> server {
> listen 88.212.201.85;
> server_name osimag.ru www.osimag.ru;
>
> location / {
> proxy_pass http://127.0.0.1/;
> proxy_redirect off;
>
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
> limit_conn osimag 2;
> }
> }
>
> При этом совершенно спокойно в браузере открываю больше 2 параллельных
> соединений.
> Куда копать?
>
> --
> С уважением,
> Паньков Артем Владимирович.
> ICQ: 842264
> Мобильный: +7 903 726 19 69




-- 
С уважением, Борис Долгов.
icq 77556665
e-mail boris at dolgov.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090118/7eab7534/attachment.html>


More information about the nginx-ru mailing list