cloned from https://github.com/DvdGiessen/nginx-rtmp-docker for personal use
nginx docker image with config for reverse proxy with use with other docker images and fedora packages original dockerfile was modified to build using fedora and config changes to nginx config with allow more use of other containers via reverse proxy configs
Below is the original readme for the base nginx-rtmp-docker repo highlighting use of the base rtmp server features for nginx
Dockerfile for building lightweight nginx + rtmp module for replicating streams
docker run -dp 1935:1935 dvdgiessen/nginx-rtmp-docker
Set OBS up with the following settings:
- Go to Settings > Stream.
- Fill out the following settings:
- Stream Type: Custom Streaming Server.
- URL:
rtmp://localhost:1935/live
. Replacelocalhost
with the IP of where the server is running. - Stream key:
my-stream-key
. This can be anything you want.
Using VLC:
- Go to Media > Open Network Stream.
- Enter the following URL:
rtmp://localhost:1935/live/my-stream-key
. Replacelocalhost
with the IP of where the server is running, andmy-stream-key
with the stream key you used when setting up the stream. - Click Play.
Docker Hub: https://hub.docker.com/r/dvdgiessen/nginx-rtmp-docker/