mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add flv cluster confs.
This commit is contained in:
parent
7571d70f16
commit
5840bc1053
2 changed files with 36 additions and 0 deletions
18
trunk/conf/http.flv.live.edge1.conf
Normal file
18
trunk/conf/http.flv.live.edge1.conf
Normal file
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
18
trunk/conf/http.flv.live.edge2.conf
Normal file
18
trunk/conf/http.flv.live.edge2.conf
Normal file
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue