1
0
Fork 0
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:
winlin 2022-08-12 15:38:40 +08:00
parent 93b773cb22
commit d885d574e4
2 changed files with 44 additions and 0 deletions

View 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;
}
}

View 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;
}
}