Add module to nginx after installation

Hi i did install nginx with this command on centos 6

sudo yum install nginx 

and it work but i need to compile wit rtmp module

so How can I find the path to make some changes

./configure --add-module=/usr/build/nginx-rtmp-module

2 Answers

You have to save your nginx configuration files first.

Next

wget
gunzip
tar xf nginx-1.9.9
cd nginx-1.9.9

And next

./configure --add-module=/usr/build/nginx-rtmp-module

Afer installing new nginx version check your configs!

rtmp module is statically linked one so it does need to be compiled with nginx. it can't be added dynamically like you are trying to. you need to remove prebuilt version of nginx and compile it from source with rtmp module following documentation.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like