Hi, I just upgraded nginx on my FreeBSD 10.3 server with the latest version provided by an up2date port tree, i.e. nginx/1.10.0.
This version seems to not recognize the directive geoip_country anymore although it was compiled with the GeoIP module successfully. Can someone advise ? Thanks, a. # uname -a FreeBSD icecube.pnzone.net 10.3-RELEASE FreeBSD 10.3-RELEASE #15 r297699: Fri Apr 8 11:34:28 CEST 2016 r...@icecube.pnzone.net:/usr/obj/usr/src/sys/ICE3K amd64 # nginx -V nginx version: nginx/1.10.0 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_slice_module --with-http_stub_status_module --with-pcre --with-http_v2_module --with-stream=dynamic --with-stream_ssl_module --with-http_ssl_module # service nginx configtest Performing sanity check on nginx configuration: nginx: [emerg] unknown directive "geoip_country" in /usr/local/etc/nginx/conf.d/01_pnzone_SSL.conf:1 nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed # head -n1 /usr/local/etc/nginx/conf.d/01_pnzone_SSL.conf geoip_country /usr/local/share/GeoIP/GeoIPv6.dat; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266453,266453#msg-266453 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx