Opened 8 years ago

Closed 8 years ago

#1131 closed defect (duplicate)

No error about wrong config

Reported by: KES777@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.11.x
Keywords: Cc:
uname -a: Linux work 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.11.6
built by gcc 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
built with OpenSSL 1.1.0c 10 Nov 2016
TLS SNI support enabled
configure arguments: --prefix=/home/kes/work/projects/artcoin.io/apps/nginx --http-client-body-temp-path=tmp/client_body --http-fastcgi-temp-path=tmp/fastcgi --http-proxy-temp-path=tmp/proxy --http-scgi-temp-path=tmp/scgi --http-uwsgi-temp-path=tmp/uwsgi --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_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 --with-file-aio --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,--as-needed' --with-debug --with-openssl=../openssl-1.1.0c

Description

When you in your http { } section do:

include sites-enabled/wrong/directory/*;

And supply wrong directory. No any warnings are logged into log file.
Please log warnings about typo at 'include'

Also it will be useful to see which files are loaded when we supply glob.

Change History (1)

comment:1 by Maxim Dounin, 8 years ago

Resolution: duplicate
Status: newclosed

To see full configuration loaded use nginx -T.
Duplicate of #933.

Note: See TracTickets for help on using tickets.