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        [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to