>From the debugger I can see that it's probably some offset into cf->ctx[index].main_conf, but I don't see anyway of knowing what that index is inside the loc create callback.
Is there any other way of getting this? Getting it at loc merge time would be acceptable too. void *ngx_http_my_module_create_conf(ngx_conf_t *cf) { } Thank you. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275998,275998#msg-275998 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx