Welcome! Log In Create A New Profile

Advanced

"limit_req_zone" unknown directive

October 29, 2010 06:33AM
Hello,

i have added to my nginx.conf

http {
limit_req_zone $binary_remote_addr zone=antiddos:10m rate=10r/s;
}

And in my site config

location ~ \.php$ {
#limit_req zone=antiddos burst=5;
}

But i am only getting the error in the topic.
Here my output of nginx -V

nginx version: nginx/0.8.53
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_stub_status_module --add-module=src/http/modules/http_secure_download_module --add-module=src/http/modules/http_upload_module --add-module=src/http/modules/http_uploadprogress_module
Subject Author Posted

"limit_req_zone" unknown directive

TAiS46 October 29, 2010 06:33AM

Re: "limit_req_zone" unknown directive

Maxim Dounin October 29, 2010 07:00AM

Re: "limit_req_zone" unknown directive

TAiS46 October 29, 2010 07:28AM

Re: "limit_req_zone" unknown directive

Maxim Dounin October 29, 2010 07:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready