Welcome! Log In Create A New Profile

Advanced

Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

January 05, 2021 07:28PM
We have a limitation on the server to only install Nginx via DNF. This
currently (as of this date of writing) installs Nginx v1.18.0. We cannot
compile our own Nginx.

I understand that with this we cannot install "static modules" because that
requires the whole of Nginx to be reinstalled. But I'd like to check how we
can install the dynamic modules
https://docs.nginx.com/nginx/admin-guide/dynamic-modules/dynamic-modules/:

1. Nginx More Headers
2. Nginx Brotli
3. Nginx Security Headers

Most lazy suggestions on blogs etc have instructions to either compile
Nginx itself, or they're just plain erroneous. I searched here and couldn't
find a question about these specific modules.

Edit: just to list the nginx modules that are in fact available in my repos
currently:

# dnf search nginx-*

Last metadata expiration check: 0:26:34 ago on Mon 04 Jan 2021 10:56:18 PM EST.
============ Name Matched: nginx-* =========
nginx-all-modules.noarch : A meta package that installs all available
Nginx modules
nginx-filesystem.noarch : The basic directory layout for the Nginx server
nginx-mimetypes.noarch : MIME type mappings for nginx
nginx-mod-http-image-filter.x86_64 : Nginx HTTP image filter module
nginx-mod-http-perl.x86_64 : Nginx HTTP perl module
nginx-mod-http-xslt-filter.x86_64 : Nginx XSLT module
nginx-mod-mail.x86_64 : Nginx mail modules
nginx-mod-stream.x86_64 : Nginx stream modules


This is quite a pointless list, sadly.


Welcome any pointers to maintainable ways of installing so that a "dnf
update nginx" will not break the modules.


Thanks!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 05, 2021 07:28PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

mike-pt January 05, 2021 08:22PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 05, 2021 11:04PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

mike-pt January 06, 2021 06:08AM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 06, 2021 05:32PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

Thomas Ward January 06, 2021 10:20PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 06, 2021 10:48PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

Thomas Ward January 06, 2021 10:56PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 06, 2021 11:20PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

Thomas Ward January 07, 2021 01:36AM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 07, 2021 08:58PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

pk899 January 07, 2021 10:40PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

GreenGecko January 06, 2021 10:54PM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

mike-pt January 07, 2021 04:44AM

Re: Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

Francis Daly January 11, 2021 04:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 225
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready