<div dir="ltr">Hi,<div><br></div><div>Is it possible to create a module with a nested block config.</div><div><br></div><div>Eg, this works:</div><div><br></div><div>command {</div><div>  command1 ...;</div><div>  command2 ...;</div><div>}</div><div><br></div><div>However, this doesn't:</div><div><br></div><div>command {</div><div>  command1 {</div><div>    commandA;</div><div>  }</div><div>  command2 {</div><div>    commandB;</div><div>  }</div><div>}</div><div><br></div><div>The code that fails doesn't allow it is <a href="https://github.com/nginx/nginx/blob/4c03c80e12158bd6daf3c6608aca3e3acce56640/src/core/ngx_conf_file.c#L263:L266">https://github.com/nginx/nginx/blob/4c03c80e12158bd6daf3c6608aca3e3acce56640/src/core/ngx_conf_file.c#L263:L266</a> </div><div><br></div><div>If I remove those lines, everything works as expected.  Is there a reason for not allowing the second style config?</div><div><br></div><div>Cheers,</div><div>Lee</div><div><br></div></div>