forked from arut/nginx-rtmp-module
-
Notifications
You must be signed in to change notification settings - Fork 214
Installing in Gentoo
reixd edited this page Nov 30, 2012
·
2 revisions
You have many options:
- Get the zip at https://github.com/arut/nginx-rtmp-module/archive/master.zip
- Or much better, do a git clone (see options in top of https://github.com/arut/nginx-rtmp-module)
- Or get an ebuild from fem-overlay. And set the USE flag "nginx_modules_rtmp" or "nginx_modules_rtmp_hls".
NGINX_ADD_MODULES="/path/to/nginx-rtmp-module" emerge -va nginx
Replace /path/to/
with the actual module's source path.
You can add with this method any number of custom modules.
To make this change permanent see: http://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package
Don't forget to include a rtmp section inside your nginx configuration file located at /etc/nginx/nginx.conf
.
See:
- Getting started We already have done Download, build and install Gentoo style ;-)
- More Examples
- Reference of all directives