B
B
bloster2015-11-15 20:57:52
RTMP
bloster, 2015-11-15 20:57:52

How to add a module to an already installed nginx rtmp module?

Hello! There is a site on nginx (80) + apache (8080), both installed via apt-get, configured according to instructions on the Internet. But now I need to add a module to nginx rtmp for possible online broadcasting.
I can roughly understand how to install nginx + rtmp completely from the instructions, you need to download two archives, one with nginx, the other with the rtmp module, unpack them and use these commands to assemble them into one whole (I speak roughly and roughly, because not much understand in detail)

$ ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master
$ make
$ sudo make install

But can I add this module to an already working nginx? Still, it is configured with Apache, I don’t want to do it all again.
In apt-get rtmp, the module is not included in either extras or full, and so on, it needs to be downloaded separately from github
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikon_NLG, 2015-11-16
@bloster

Alas, no way. Modules are compiled with nginx.
But it's better not to do make install, but to do apt-get source nginx , and in debian/rules add --add-module
then "dpkg-buildpackage -us -uc -nc", and you will have a ready deb.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question