nginx-mod-rtmp/doc/installing_in_gentoo.md

1.1 KiB

Installing in Gentoo

Download module source code

You have many options:

Emerge nginx with nginx-rtmp-module

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

Configure nginx

Don't forget to include a rtmp section inside your nginx configuration file located at /etc/nginx/nginx.conf.

See: