Comment 2 for bug 1893753

Revision history for this message
Anton Tolchanov (knyar) wrote :

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:
- hirsuite: https://code.launchpad.net/~knyar/ubuntu/+source/nginx/+git/nginx/+merge/393789
- focal: https://code.launchpad.net/~knyar/ubuntu/+source/nginx/+git/nginx/+merge/393790

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.