This commit is contained in:
parent
01400f8d29
commit
0fc0ae1ff7
@ -42,7 +42,7 @@ RUN apt-get update && \
|
|||||||
|
|
||||||
COPY startscript.sh /usr/sbin/startscript.sh
|
COPY startscript.sh /usr/sbin/startscript.sh
|
||||||
COPY nginx_ingest.conf /etc/nginx/nginx_ingest.conf
|
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
|
EXPOSE 1935
|
||||||
|
@ -11,7 +11,7 @@ rtmp {
|
|||||||
live on;
|
live on;
|
||||||
record off;
|
record off;
|
||||||
meta copy;
|
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 {
|
application live {
|
||||||
allow publish 127.0.0.1;
|
allow publish 127.0.0.1;
|
||||||
|
Loading…
Reference in New Issue
Block a user