Nginx build with RTMP module for Raspberry Pi
nginx raspberry pi
Builds nginx from source in a Docker container for running RTMP server with HLS
Build image with
Run Docker container with image
nginx-rtmp-raspi and ports 8080 and 1935 published.
docker run -d --name nginx-rtmp -P 8080:8080 -P 1935:1935 nginx-rtmp-raspi
ffmpeg service on the host to forward video to nginx. Currently in as an upstart service, but easy to update for systemd or other process manager.