mirror of https://github.com/ossrs/srs.git
Add files for reuse port for origins.
parent
93b773cb22
commit
d885d574e4
@ -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;
|
||||
}
|
||||
}
|
@ -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…
Reference in New Issue