> The nginx source bundles the http-lua module in a version incompatible > with nginx 1.18. It segfaults immediately with a minimal config if a > "init_worker_by_lua_block" block is defined. (I haven't looked much > further.)
I have submitted a merge request to upgrade lua-nginx-module version to 0.10.15: https://salsa.debian.org/nginx-team/nginx/-/merge_requests/15 After updating to 0.10.15 I am no longer seeing nginx segfault when init_worker_by_lua_block is used. A similar update is being discussed in the corresponding Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1893753 Regards, Anton