Hi,
At present I write several lua blocks using init_by_lua_block, rewrite_by_lua_block, header_filter_by_lua_block and balancer_by_lua_block. Lua_shared_dict is also declared in the nginx.conf. Some of my colleagues think that it is hard to read the nginx.conf because the nginx configuration and lua script are mixed together. So, is it possible to extract the lua script outside the nginx.conf and include them by some methods?
Thanks
Liu Peng