Welcome! Log In Create A New Profile

Advanced

Server fails to start with unknown variable in log

February 10, 2019 10:50AM
Hi, Since GeoIP community database was removed by Maxmind I wanted to
remove GeoIP from my nginx.conf file.

On running a start I get the following error:

Performing sanity check on nginx configuration:
nginx: [emerg] unknown "allow_visit" variable
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Starting nginx.
nginx: [emerg] unknown "allow_visit" variable
/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx

So I ran:

cat /usr/local/etc/nginx/nginx.conf | grep "allow_visit"

with no result at all.

A web search produced nothing.

My system is 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64

nginx: nginx-devel-1.15.8_4 freebsd port install

any pointers would help.

Regards,

Adam
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Server fails to start with unknown variable in log

Adami February 10, 2019 10:50AM

Re: Server fails to start with unknown variable in log

Francis Daly February 10, 2019 11:24AM

Re: Server fails to start with unknown variable in log

Adami February 10, 2019 12:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready