Hello!
On Mon, Jan 25, 2016 at 1:48 PM, bclod wrote:
> Thanks to the help of a colleague we figured out the issue. Seems that
> nginx does not load upstreams until request phase. Since I was trying to
> load the details in init_lua it was throwing a segmentation fault.
>
> I refactored the flow to load the properties globally on very first request
> to server.
>
BTW, not just request phase works, the init_worker_by_lua* and timer
handler contexts should work as well.
Best regards,
-agentzh