Welcome! Log In Create A New Profile

Advanced

Re: Server fails to start with unknown variable in log

Francis Daly
February 10, 2019 11:24AM
On Sun, Feb 10, 2019 at 03:49:45PM +0000, Adam wrote:

Hi there,

> Performing sanity check on nginx configuration:
> nginx: [emerg] unknown "allow_visit" variable
> nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

> So I ran:
>
> cat /usr/local/etc/nginx/nginx.conf | grep "allow_visit"
>
> with no result at all.

There may be other files "include"d from your nginx.conf.

> any pointers would help.

nginx -T | grep -e 'configuration file\|allow_visit'

should show the mention of allow_visit; the previous configuration file
name is the one that uses it.

f
--
Francis Daly francis@daoine.org
_______________________________________________
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: 106
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