"limit_req_zone" unknown directive

TAiS46 nginx-forum at nginx.us
Fri Oct 29 14:33:45 MSD 2010


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

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,145619,145619#msg-145619




More information about the nginx mailing list