From 5840bc105335e7958cda68e8891c1467288be6c6 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 24 May 2015 08:41:29 +0800 Subject: [PATCH] add flv cluster confs. --- trunk/conf/http.flv.live.edge1.conf | 18 ++++++++++++++++++ trunk/conf/http.flv.live.edge2.conf | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 trunk/conf/http.flv.live.edge1.conf create mode 100644 trunk/conf/http.flv.live.edge2.conf diff --git a/trunk/conf/http.flv.live.edge1.conf b/trunk/conf/http.flv.live.edge1.conf new file mode 100644 index 000000000..8cd023d47 --- /dev/null +++ b/trunk/conf/http.flv.live.edge1.conf @@ -0,0 +1,18 @@ +listen 19351; +max_connections 1000; +pid objs/srs.flv.19351.pid; +srs_log_file objs/srs.flv.19351.log; +http_server { + enabled on; + listen 8081; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + mode remote; + origin 127.0.0.1; + http_remux { + enabled on; + mount [vhost]/[app]/[stream].flv; + hstrs on; + } +} diff --git a/trunk/conf/http.flv.live.edge2.conf b/trunk/conf/http.flv.live.edge2.conf new file mode 100644 index 000000000..1948b4f15 --- /dev/null +++ b/trunk/conf/http.flv.live.edge2.conf @@ -0,0 +1,18 @@ +listen 19352; +max_connections 1000; +pid objs/srs.flv.19352.pid; +srs_log_file objs/srs.flv.19352.log; +http_server { + enabled on; + listen 8082; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + mode remote; + origin 127.0.0.1; + http_remux { + enabled on; + mount [vhost]/[app]/[stream].flv; + hstrs on; + } +}