S
S
Sergey Ryzhkin2020-12-30 11:32:57
Nginx
Sergey Ryzhkin, 2020-12-30 11:32:57

Is it possible to add a module to Nginx if I built it from Repo?

Actually the question is in the title.
Installed nginx from repo:

[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

But then it became necessary to deliver two modules.
I understand correctly that with the current installation this is not possible, and it was necessary to initially build nginx from sources via ./configure and then I could add / remove modules?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2020-12-30
@Franciz

Most likely you can compile them as Dynamic modules.
https://www.nginx.com/resources/wiki/extending/con...

A
Alexey Dmitriev, 2020-12-30
@SignFinder

You can always download src.rpm, unpack it - change configuration keys and rebuild it into a binary rpm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question