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.9And next
./configure --add-module=/usr/build/nginx-rtmp-moduleAfer 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.