Score:0

Where are nginx mods in nginx.org package repo?

br flag

I'm upgrading some Ubuntu 18.04 hosts to Nginx v1.20. The available version in the official repos for Ubuntu 18.04 is 1.14, which has some advisories out for it, so I'm adding the "official" Nginx repo to my 18.04 hosts.

The libnginx-* mods seem to be a Ubuntu thing only. Are these modules automatically compiled into the nginx.org package somehow? For instance, apt shows the libnginx-mod-http-geoip is coming from the official repos, but nothing for the nginx.org repo.

Nginx shows both official repos, and nginx.org

# apt policy nginx
nginx:
  Installed: 1.20.1-1~bionic
  Candidate: 1.20.1-1~bionic
  Version table:
 *** 1.20.1-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
        100 /var/lib/dpkg/status
     1.20.0-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.18.0-2~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.18.0-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.16.1-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.16.0-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.14.2-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.14.1-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.14.0-1~bionic 500
        500 https://nginx.org/packages/ubuntu bionic/nginx amd64 Packages
     1.14.0-0ubuntu1.9 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
     1.14.0-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages

Nginx mods show only for the official repo

# apt policy libnginx-mod-http-geoip
libnginx-mod-http-geoip:
  Installed: (none)
  Candidate: 1.14.0-0ubuntu1.9
  Version table:
     1.14.0-0ubuntu1.9 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.14.0-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

These are the mods which are installed for 1.14 (official). I'm assuming these need to be installed so the configured Nginx options continue to work with v1.20:

libnginx-mod-http-geoip
libnginx-mod-http-image-filter
libnginx-mod-http-xslt-filter
libnginx-mod-mail
libnginx-mod-stream
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.