Nested block config
Lee Valentine
lee at leev.net
Fri Jul 22 15:56:56 UTC 2016
Hi,
Is it possible to create a module with a nested block config.
Eg, this works:
command {
command1 ...;
command2 ...;
}
However, this doesn't:
command {
command1 {
commandA;
}
command2 {
commandB;
}
}
The code that fails doesn't allow it is
https://github.com/nginx/nginx/blob/4c03c80e12158bd6daf3c6608aca3e3acce56640/src/core/ngx_conf_file.c#L263:L266
If I remove those lines, everything works as expected. Is there a reason
for not allowing the second style config?
Cheers,
Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160722/132d0117/attachment.html>
More information about the nginx-devel
mailing list