On Friday, 30 September 2016 02:44:29 UTC+3, Bjørnar Ness wrote:
Yeah.. I can ofcorse, but perhaps look at this as a feature request instead, then: block a worker from
accepting http requests and let it only run init_worker_by_lua_* agentzh?
I wouldn't wait for this happening anytime soon, or ever. Unless Nginx itself starts supporting something
that allows this. Maybe you should ask on Nginx mailing list about it. Currently workers are configured at
the top level of Nginx configuration.
You can still use another OpenResty with HTTP handlers and SHM and another OpenResty server that
loads SHM data through HTTP or stream from the other.