mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
Core: -t flag now also shows included config files
Simple implementation that shows included files
This commit is contained in:
parent
d16251969b
commit
12afea70cf
@ -875,6 +875,11 @@ ngx_conf_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
if (rv != NGX_CONF_OK) {
|
if (rv != NGX_CONF_OK) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ngx_test_config){
|
||||||
|
ngx_log_stderr(0, "the configuration file %s syntax is ok",
|
||||||
|
file.data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_close_glob(&gl);
|
ngx_close_glob(&gl);
|
||||||
|
Loading…
Reference in New Issue
Block a user