I need to read api definition from unix socket(postgresql) and set it as a variable in shared dict. Is there a reason why this is forbidden?
https://stackoverflow.com/questions/76323408/why-cant-i-use-ngx-socket-tcp-in-init-by-lua-phase
init_by_* requires the events module which is not initialized in init_by phase.