-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For #464, support config for origin cluster.
- Loading branch information
Showing
6 changed files
with
140 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# the config for srs origin-origin cluster | ||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster | ||
# @see full.conf for detail config. | ||
|
||
listen 19350; | ||
max_connections 1000; | ||
daemon off; | ||
srs_log_tank console; | ||
pid ./objs/origin.cluster.serverA.pid; | ||
http_api { | ||
enabled on; | ||
listen 9090; | ||
} | ||
vhost __defaultVhost__ { | ||
cluster { | ||
mode local; | ||
coworkers 127.0.0.1:9091; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# the config for srs origin-origin cluster | ||
# @see https://github.com/ossrs/srs/wiki/v3_EN_OriginCluster | ||
# @see full.conf for detail config. | ||
|
||
listen 19351; | ||
max_connections 1000; | ||
daemon off; | ||
srs_log_tank console; | ||
pid ./objs/origin.cluster.serverB.pid; | ||
http_api { | ||
enabled on; | ||
listen 9091; | ||
} | ||
vhost __defaultVhost__ { | ||
cluster { | ||
mode local; | ||
coworkers 127.0.0.1:9090; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.