provide nginx integration that doesn't use Lua
It seems that the Lua support in nginx is on the chopping block at least in some distributions. The current nginx packages in Ubuntu 22.04 are compiled without it:
[0 root@yamaguchi ~] dpkg -l nginx-extras | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==================-============-=========================================
ii nginx-extras 1.18.0-6ubuntu14.1 amd64 nginx web/proxy server (extended version)
[0 root@yamaguchi ~] nginx -V 2>&1 | grep -i lua
[1 root@yamaguchi ~]
I stumbled across this while upgrading our LemonLDAP:NG host from Ubuntu 20.04 to 22.04. nginx refused to start after the update due to all the unrecognized options around Lua.
There are still some leftover references in the various packages which seem to hint that nginx-extras
should contain support for it, but it doesn't.
I've found this bug report on Launchpad which basically says: "yeah, it's gone, use OpenResty".
If other distributions take up this decision it might make LemonLDAP::NG integration with nginx rather hard.
As a workaround one can use the nginx PPA from well-known developer & Debian's PHP maintainer, Ondřej Surý. These nginx packages are newer than the ones in Ubuntu 22.04, and they still come with Lua compiled it. I do not know how long this will continue to be the case.