-
-
Notifications
You must be signed in to change notification settings - Fork 579
Compile the module as a dynamic module
winshining edited this page Aug 29, 2018
·
5 revisions
Nginx version must be equal to or greater than 1.9.11.
cd to NGINX source directory & run this:
./configure --add-dynamic-module=/path/to/nginx-http-flv-module
make
make install
ngx_http_flv_live_module.so
Nginx uses load_module
command to load the dynamic modules and it must be located before some directives, in the default conf file that Nginx provides, it must be located before events
directive.
Load command:
load_module modules/ngx_http_flv_live_module.so;
In the above command, both absolute and relative directory are OK, the modules
directory is where the module located in, the default value is /usr/local/nginx/modules
. However, if a customized directory is specified when configure
is executed, the directory will be located in where the configure
specified.