Welcome! Log In Create A New Profile

Advanced

"limit_req_zone" unknown directive in Nginx

January 18, 2010 11:50PM
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

[b]unknown directive "limit_req_zone" in /etc/nginx/nginx.conf[/b]

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
Subject Author Posted

"limit_req_zone" unknown directive in Nginx

partysoft January 18, 2010 11:50PM

Re: "limit_req_zone" unknown directive in Nginx

Maxim Dounin January 19, 2010 03:48AM



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