Re: limit_conn_zone Nginx Unknow error

2014-04-07 Thread Raul Hugo
Thx! I resolve my miss configuration. Only changing of position my include to the final of file. 2014-04-07 12:13 GMT-05:00 Maxim Dounin : > Hello! > > On Mon, Apr 07, 2014 at 11:17:40AM -0500, Raul Hugo wrote: > > > Hey Maxim, thx for your answer. > > > > On my /etc/nginx/nginx.conf I put thi

Re: limit_conn_zone Nginx Unknow error

2014-04-07 Thread Maxim Dounin
Hello! On Mon, Apr 07, 2014 at 11:17:40AM -0500, Raul Hugo wrote: > Hey Maxim, thx for your answer. > > On my /etc/nginx/nginx.conf I put this: > > limit_conn_zone $binary_remote_addr zone=one:63m; > > And on my .conf of my project located on /etc/nginx/vhost.d/myproject.conf > > I put this :

Re: limit_conn_zone Nginx Unknow error

2014-04-07 Thread Raul Hugo
Hey Maxim, thx for your answer. On my /etc/nginx/nginx.conf I put this: limit_conn_zone $binary_remote_addr zone=one:63m; And on my .conf of my project located on /etc/nginx/vhost.d/myproject.conf I put this : on the server configuration: location / { limit_conn one 10; } Nginx r

Re: limit_conn_zone Nginx Unknow error

2014-04-07 Thread Maxim Dounin
Hello! On Mon, Apr 07, 2014 at 09:51:31AM -0500, Raul Hugo wrote: > What am I doing wrong here? > > http { > limit_conn_zone $binary_remote_addr zone=one:63m; > > server { > location /downloads/ { > limit_conn one 10;} > > [root@b

limit_conn_zone Nginx Unknow error

2014-04-07 Thread Raul Hugo
What am I doing wrong here? http { limit_conn_zone $binary_remote_addr zone=one:63m; server { location /downloads/ { limit_conn one 10;} [root@batman1 ~]# service nginx configtest nginx: [emerg] the size 66060288 of shared memory zo