diff --git a/Dockerfile b/Dockerfile index 3f9ed3b..db42daa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ RUN apt-get update && \ COPY startscript.sh /usr/sbin/startscript.sh COPY nginx_ingest.conf /etc/nginx/nginx_ingest.conf -COPY nginx_restream.conf /etc/nginx/nginx_ingest.conf +COPY nginx_restream.conf /etc/nginx/nginx_restream.conf EXPOSE 1935 diff --git a/nginx_ingest.conf b/nginx_ingest.conf index 4b34148..63d877f 100644 --- a/nginx_ingest.conf +++ b/nginx_ingest.conf @@ -11,7 +11,7 @@ rtmp { live on; record off; meta copy; - exec ffmpeg -i rtmp://localhost:1935/origin/Ykh9hy5BxLLpqk1DuretawNz9sGxX3mt -c copy -f flv rtmp://127.0.0.1:1935/live; + exec ffmpeg -i rtmp://localhost:1935/origin/___STREAMKEY___ -c copy -f flv rtmp://127.0.0.1:1935/live; } application live { allow publish 127.0.0.1;