mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Add files for reuse port for origins.
This commit is contained in:
parent
93b773cb22
commit
d885d574e4
2 changed files with 44 additions and 0 deletions
22
trunk/conf/origin.hls.only1.conf
Normal file
22
trunk/conf/origin.hls.only1.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
pid ./objs/origin.hls.only1.pid;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_fragment 10;
|
||||
hls_window 60;
|
||||
}
|
||||
}
|
22
trunk/conf/origin.hls.only2.conf
Normal file
22
trunk/conf/origin.hls.only2.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# the config for srs origin-edge cluster
|
||||
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/reuse-port
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
pid ./objs/origin.hls.only2.pid;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_fragment 10;
|
||||
hls_window 60;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue