Welcome! Log In Create A New Profile

Advanced

http_geoip_module

Роман
March 15, 2016 10:42AM
Добрый день,
подскажите что я делаю не так
обновил nginx с 1.8.1 до nginx version: nginx/1.9.12
и появились ругательства на geoip_country

/usr/local/etc/rc.d/nginx configtest
Performing sanity check on nginx configuration:
nginx: [emerg] unknown directive "geoip_country" in
/usr/local/etc/nginx/nginx.conf:33
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

nginx -V
nginx version: nginx/1.9.12
built with OpenSSL 1.0.2g 1 Mar 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--modules-path=/usr/local/etc/nginx/modules
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-ipv6 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log
*--with-http_geoip_module*=dynamic --with-http_gzip_static_module
--with-http_gunzip_module --with-http_perl_module=dynamic
--with-http_realip_module --with-http_stub_status_module --with-pcre
--with-http_v2_module --with-http_ssl_module

Хотя модуль присутсвует.
Куда копать?
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

http_geoip_module

Роман March 15, 2016 10:42AM

Re: http_geoip_module

Maxim Dounin March 15, 2016 10:56AM

Re: http_geoip_module

Роман March 15, 2016 11:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
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