diff --git a/trunk/conf/origin.hls.only1.conf b/trunk/conf/origin.hls.only1.conf new file mode 100644 index 000000000..9be5e7b15 --- /dev/null +++ b/trunk/conf/origin.hls.only1.conf @@ -0,0 +1,22 @@ +# the config for srs origin-edge cluster +# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port +# @see full.conf for detail config. + +listen 1935; +max_connections 1000; +pid ./objs/origin.hls.only1.pid; +daemon off; +srs_log_tank console; +http_server { + enabled on; + listen 8080; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + hls { + enabled on; + hls_path ./objs/nginx/html; + hls_fragment 10; + hls_window 60; + } +} diff --git a/trunk/conf/origin.hls.only2.conf b/trunk/conf/origin.hls.only2.conf new file mode 100644 index 000000000..b1a78d2ed --- /dev/null +++ b/trunk/conf/origin.hls.only2.conf @@ -0,0 +1,22 @@ +# the config for srs origin-edge cluster +# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port +# @see full.conf for detail config. + +listen 1935; +max_connections 1000; +pid ./objs/origin.hls.only2.pid; +daemon off; +srs_log_tank console; +http_server { + enabled on; + listen 8080; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + hls { + enabled on; + hls_path ./objs/nginx/html; + hls_fragment 10; + hls_window 60; + } +}