<div dir="ltr">Hello,<br><br>Sometimes custom module developers need to iterate over configured location(s), configured in some or all server(s) blocks.<br>For example, to perform post-initialization steps, defined by custom directives in their modules.<br>Now it is virtually impossible.<br><br>I've posted question about this matter few years ago:<br><a href="https://mailman.nginx.org/pipermail/nginx-devel/2016-October/008882.html">https://mailman.nginx.org/pipermail/nginx-devel/2016-October/008882.html</a><br><br>Since then, I received quite a few private emails about whether I succeeded in my findings.<br>So, I'm not alone, who faced this issue.<br><br>Fortunately, the described goal could be easily achieved by making just internal proxy modules structures available in a separate header.<br>After that implementation of desired functionality is just a matter of writing a few lines of code.<br><br>Patches а following.<br>No functional changes, just code movement from .c to .h files.<br><br>Development community, at least through my voice, will be grateful to see them applied to the latest development branch.<br><br>--<br>Cheers,<br>Andrey</div>