eggspot/nginx:1.19.9-rtmp: pre-install Nginx RTMP module + Stunnel4 (restream to RTMPs) + NodeJs
eggspot/nginx:1.19.9-rtmp-arm: ARM supported, pre-install Nginx RTMP module + Stunnel4 (restream to RTMPs) + NodeJs
- OBS connect to
rtmp://localhost/live
FROM eggspot/nginx:1.19.9-rtmp
# nginx.conf file
COPY nginx.conf /etc/nginx/nginx.confExample
#!/bin/sh
# create stunnel4 log file
touch /var/log/stunnel4/stunnel.log &
# set stunnel4 log file permission
chmod -R 777 /var/log/stunnel4/stunnel.log &
# start stunnel4
/etc/init.d/stunnel4 start &
# Start nginx
nginx -g "daemon off;"# stunnel default config (enable/disable)
COPY stunnel4 /etc/default/stunnel4
# stunnel.conf file
COPY stunnel.conf /etc/stunnel/stunnel.conf