Skip to content

Installing in Gentoo

lava6666 edited this page Oct 21, 2022 · 3 revisions

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: