mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +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) {
|
||||
break;
|
||||
}
|
||||
|
||||
if(ngx_test_config){
|
||||
ngx_log_stderr(0, "the configuration file %s syntax is ok",
|
||||
file.data);
|
||||
}
|
||||
}
|
||||
|
||||
ngx_close_glob(&gl);
|
||||
|
Loading…
Reference in New Issue
Block a user