-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support redis LB for large scale use scenarios.
- Loading branch information
Showing
5 changed files
with
93 additions
and
4 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
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,24 @@ | ||
|
||
listen 19351; | ||
max_connections 1000; | ||
pid objs/origin1.pid; | ||
daemon off; | ||
srs_log_tank console; | ||
http_server { | ||
enabled on; | ||
listen 8081; | ||
dir ./objs/nginx/html; | ||
} | ||
http_api { | ||
enabled on; | ||
listen 19851; | ||
} | ||
heartbeat { | ||
enabled on; | ||
interval 3; | ||
url http://127.0.0.1:12025/api/v1/srs/register; | ||
device_id origin2; | ||
ports on; | ||
} | ||
vhost __defaultVhost__ { | ||
} |
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,24 @@ | ||
|
||
listen 19352; | ||
max_connections 1000; | ||
pid objs/origin2.pid; | ||
daemon off; | ||
srs_log_tank console; | ||
http_server { | ||
enabled on; | ||
listen 8082; | ||
dir ./objs/nginx/html; | ||
} | ||
http_api { | ||
enabled on; | ||
listen 19853; | ||
} | ||
heartbeat { | ||
enabled on; | ||
interval 3; | ||
url http://127.0.0.1:12025/api/v1/srs/register; | ||
device_id origin2; | ||
ports on; | ||
} | ||
vhost __defaultVhost__ { | ||
} |
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,24 @@ | ||
|
||
listen 19353; | ||
max_connections 1000; | ||
pid objs/origin3.pid; | ||
daemon off; | ||
srs_log_tank console; | ||
http_server { | ||
enabled on; | ||
listen 8083; | ||
dir ./objs/nginx/html; | ||
} | ||
http_api { | ||
enabled on; | ||
listen 19852; | ||
} | ||
heartbeat { | ||
enabled on; | ||
interval 3; | ||
url http://127.0.0.1:12025/api/v1/srs/register; | ||
device_id origin3; | ||
ports on; | ||
} | ||
vhost __defaultVhost__ { | ||
} |