ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: limit conn работает не на все х хостах


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: limit conn работает не на все х хостах
  • From: "колбаскин" <nginx-forum@xxxxxxxx>
  • Date: Fri, 20 Jan 2012 10:52:37 -0500
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=+ecMTjmOscOdV1Tod5ob8CQ+8PU+3lgDfsv+FrUR3Ow=; b=MG+n7+K3ZAqFpoE1UIEEgzTnm8pJFBZwme8xgU3wSfs5eOQTQmgc+2yuUTYZ2rOM+gfSGXUb00Rh0NPLMq3+eIgUf7B/eGFRoqI/UmwKhGvqJtIPc0KMaEIHCcGE5Ydt;
  • In-reply-to: <3847C96A-50C0-45C2-8CB1-C4A0B65D5929@xxxxxxxxx>
  • References: <3847C96A-50C0-45C2-8CB1-C4A0B65D5929@xxxxxxxxx>

Может кто напишет почему не работает
ограничение?

[root@all /usr/home/alex]# nginx -V
nginx version: nginx/1.0.11
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-ipv6 --with-google_perftools_module
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_stub_status_module
--with-pcre
[root@all /usr/home/alex]#

---------------
nginx.conf
events {
    worker_connections  65536;
}

http {

#access_log off;
#error_log off;

        limit_zone conn_from_one_ip $binary_remote_addr 16m;
        limit_zone conn_from_one_ip_2 $binary_remote_addr 16m;
-------------------

server {
 listen       80;
 server_name  site.ru;
 proxy_temp_path /usr/local/etc/nginx/site;
 limit_conn conn_from_one_ip_2 49;

 location @nocached {

Правило не срабатывает

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,221407,221496#msg-221496

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.