mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
0200baa179
commit
acfeb8a66f
6 changed files with 31 additions and 3 deletions
|
@ -15,6 +15,6 @@ vhost __defaultVhost__ {
|
|||
cluster {
|
||||
mode local;
|
||||
origin_cluster on;
|
||||
coworkers 127.0.0.1:9091;
|
||||
coworkers 127.0.0.1:9091 127.0.0.1:9092;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@ vhost __defaultVhost__ {
|
|||
cluster {
|
||||
mode local;
|
||||
origin_cluster on;
|
||||
coworkers 127.0.0.1:9090;
|
||||
coworkers 127.0.0.1:9090 127.0.0.1:9092;
|
||||
}
|
||||
}
|
||||
|
|
20
trunk/conf/origin.cluster.serverC.conf
Normal file
20
trunk/conf/origin.cluster.serverC.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
# the config for srs origin-origin cluster
|
||||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 19352;
|
||||
max_connections 1000;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
pid ./objs/origin.cluster.serverC.pid;
|
||||
http_api {
|
||||
enabled on;
|
||||
listen 9092;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
cluster {
|
||||
mode local;
|
||||
origin_cluster on;
|
||||
coworkers 127.0.0.1:9090 127.0.0.1:9091;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue