﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
933	include with wildcard but non-existent parent is not detected by nginx -t	welwood08@…		"Include wildcard with non-existent parent directory:
* nginx.conf
{{{
include nonexistant/*;
}}}
* `nginx -t`
{{{
nginx: the configuration file /home/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /home/nginx/conf/nginx.conf test is successful
}}}

Include non-existent file:
* nginx.conf
{{{
include nonexistant;
}}}
* `nginx -t`
{{{
nginx: [emerg] open() ""/home/nginx/conf/nonexistant"" failed (2: No such file or directory) in /home/nginx/conf/nginx.conf:1
nginx: configuration file /home/nginx/conf/nginx.conf test failed
}}}

I encountered this problem because a wildcard include directive contained a typo. One of the files that failed to be included was for SSL, so I also hit #178 and was investigating in the wrong place. Both should have been caught by the configtest feature."	defect	closed	minor		nginx-core	1.9.x	wontfix			Linux devil 2.6.26-1-686-bigmem #1 SMP Fri Mar 13 18:52:29 UTC 2009 i686 GNU/Linux	"nginx version: nginx/1.9.12
built by gcc 5.3.0 (GCC)
built with OpenSSL 1.0.2g  1 Mar 2016
TLS SNI support enabled
configure arguments: --prefix=/usr --conf-path=/home/nginx/conf/nginx.conf --pid-path=/home/nginx/nginx.pid --lock-path=/home/nginx/nginx.lock --error-log-path=/home/nginx/logs/error.log --http-log-path=/home/nginx/logs/access.log --http-client-body-temp-path=/tmp/client_body --http-proxy-temp-path=/tmp/proxy --http-fastcgi-temp-path=/tmp/fastcgi --http-uwsgi-temp-path=/tmp/uwsgi --http-scgi-temp-path=/tmp/scgi --with-cc-opt='-gdwarf-2 -gstrict-dwarf -I/home/me/gcc/5.3.0/lib/gcc/i686-pc-linux-gnu/5.3.0/include -I/home/me/gcc/5.3.0/lib/gcc/i686-pc-linux-gnu/5.3.0/include-fixed -I/home/me/openssl/include' --with-ld-opt='-L/home/me/gcc/5.3.0/lib -L/home/me/openssl/lib' --with-pcre=/home/me/src/pcre/pcre-8.38 --with-zlib=/home/me/src/zlib/zlib-1.2.8 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module"
