Welcome! Log In Create A New Profile

Advanced

problem with limit_conn

Posted by mmovie 
problem with limit_conn
August 04, 2014 01:54PM
hi guys ,
I am using nginx version 1.0.10 on linux centos 6.5 . I want to add the following to lines to my nginx config file:
limit_conn_zone $binary_remote_addr zone=conn_limit_per_ip:20m;
limit_conn conn_limit_per_ip 3;

But after that when I try to restart nginx I get the following error :
Starting nginx: nginx: [emerg] unknown directive "limit_conn_zone" in /etc/nginx/nginx.conf:31
[FAILED]

what should I do to solve this ?
thank you
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready