How to configure additional modules to nginx after installation?
nginx
Solution
Unlike Apache, all modules, including the 3rd party modules, are going to be compiled into nginx. So every time you want to add a new module, you have to recompile nginx.
So yes, you have to install it as per the document. There is no much value of keeping 2 nginx runtimes on the same server any way. So you may also want to remove the previous nginx.
Problem
I have installed Nginx in our redhat machine using rpm. Now we want to add nginx-rtmp module, but inorder to add new module as per the document i need to build it by downloading the tar ball. Does it mean that i have to remove the rpm and install it as per the document. Ref: https://github.com/arut/nginx-rtmp-module/wiki/Getting-started-with-nginx-rtmp ``` ./configure --add-module=/usr/build/nginx-rtmp-module make make install ```