"limit_req_zone" unknown directive in Nginx

partysoft nginx-forum at nginx.us
Tue Jan 19 07:50:42 MSK 2010


Hi i have CENT OS and installed nginx from RPM 

using this guide, all works fine except it doesn't have some basic modules

http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/

i get 

 unknown directive "limit_req_zone" in /etc/nginx/nginx.conf

i used for example limit_zone  and it works, 

i'm not doing nothing fancy  , just following the examples given on the http://wiki.nginx.org/NginxHttpLimitReqModule

is there anyway to include a compiled .so or something like that of that module? i think it's just isn't compiled or something...



Here's the version i'm getting with nginx -V

nginx version: nginx/0.6.39

configure arguments: --user=nginx --group=nginx --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx 
--with-http_ssl_module
 --with-http_realip_module 
--with-http_addition_module 
--with-http_sub_module 
--with-http_dav_module 
--with-http_flv_module 
--with-http_gzip_static_module 
--with-http_stub_status_module 
--with-http_perl_module 
--with-mail 
--with-mail_ssl_module 
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=/builddir/build/BUILD/nginx-0.6.39/nginx-upstream-fair

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




More information about the nginx mailing list