Note that the latest version of lua-nginx-module is 0.10.19, however upgrading to it is more tricky than upgrading to 0.10.15. Beginning at version 0.10.16, lua-nginx-module requires the lua-resty-core library (https://github.com/openresty/lua-resty-core) to be available, and I have not been able to find it packaged in Ubuntu. There are several options on how to package that lua library (either as a separate Ubuntu package, or together with libnginx-mod-http-lua), which is probably something that Ubuntu nginx maintainers should decide.
Because of this issue libnginx- mod-http- lua is completely broken in several versions of Ubuntu.
Upgrading lua-nginx-module to 0.10.15 fixes the issue, and I have suggested two patches that would make libnginx- mod-http- lua usable again: /code.launchpad .net/~knyar/ ubuntu/ +source/ nginx/+ git/nginx/ +merge/ 393789 /code.launchpad .net/~knyar/ ubuntu/ +source/ nginx/+ git/nginx/ +merge/ 393790
- hirsuite: https:/
- focal: https:/
Note that the latest version of lua-nginx-module is 0.10.19, however upgrading to it is more tricky than upgrading to 0.10.15. Beginning at version 0.10.16, lua-nginx-module requires the lua-resty-core library (https:/ /github. com/openresty/ lua-resty- core) to be available, and I have not been able to find it packaged in Ubuntu. There are several options on how to package that lua library (either as a separate Ubuntu package, or together with libnginx- mod-http- lua), which is probably something that Ubuntu nginx maintainers should decide.