Re: Nginx C API: Traversing the configuration tree

2018-08-14 Thread Sam Vervaeck
Sorry, looks like I overlooked something in the API! It is possible to have a location-specific postconfiguration-hook: the last field of nginx_command_t. My bad! Regards, Sam > On 14 Aug 2018, at 14:41, Sam Vervaeck wrote: > > Hi all, > > I’m writing a small monitoring modul

Nginx C API: Traversing the configuration tree

2018-08-14 Thread Sam Vervaeck
Hi all, I’m writing a small monitoring module and I need to perform some set-up after the configuration object has ben initialised. I use the postconfiguration-hook in ngx_http_module_t and would like this hook to traverse over all locations that have been enabled in my module in order to initi