libnginx-mod-http-lua package is not available

Asked by Rafael Leira Osuna

I'm testing my network stack on the new Jammy/Ubuntu 22.04 version.

However, it seems that module libnginx-mod-http-lua is not available ( ) and it breaks some parts of our websites.

I've been checking on askubuntu and it seems here is the place to ask to reinclude it on the new jammy release.

Some people suggested to mention that debian keeps the packet alive: . I don't know if it would help or not.

I would like to know if there is any reason to not include the package (and begin a migration to something else) or if it has been simply forgotten for some reason.

In any case, thank you in advance!

Question information

English Edit question
Ubuntu nginx Edit question
No assignee Edit question
Solved by:
Rafael Leira Osuna
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

Excerpt from the change log

nginx (1.18.0-6ubuntu5) hirsute; urgency=medium
  * Remove the Lua modules from NGINX (Server Team Decision) - future support
    for Lua module now requires resty-core from OpenResty, meaning that if
    we want to continue to support the Lua module, we have to start becoming
    OpenResty - users should just use OpenResty at this point for Lua.
    Changes made for this removal:
     - d/control:
       - Remove lua module from dependencies, and binary build item.
       - Add "Breaks" line for nginx-lua for older versions of NGINX.
         This is added to the nginx metapackage and nginx-extras.

Revision history for this message
Rafael Leira Osuna (ralequi) said :

Thank you Manfred.

That was not the expected answer but now I know what we've to do.

Thanks a lot. Have a nice day.

Revision history for this message
root (mysky) said :

There is a stable version with Ondrej PPA

sudo add-apt-repository ppa:ondrej/nginx
sudo apt update
apt install libnginx-mod-http-lua

Revision history for this message
Thomas Ward (teward) said :


Note that this will install NGINX *fully* from that PPA, it will lose Ubuntu updates and such and is entirely dependent on Ondrej continuing to provide updates.