2022-08-12 14:33:03 +08:00
|
|
|
# the config for isolated origin server to reuse port.
|
2025-07-05 09:32:11 -04:00
|
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/reuse-port
|
2022-08-12 15:38:40 +08:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
|
|
max_connections 1000;
|
|
|
|
|
pid ./objs/origin.hls.only1.pid;
|
|
|
|
|
daemon off;
|
|
|
|
|
srs_log_tank console;
|
2025-08-27 19:27:23 -04:00
|
|
|
|
|
|
|
|
# RTMP server configuration
|
|
|
|
|
rtmp {
|
|
|
|
|
listen 1935;
|
|
|
|
|
}
|
2022-08-12 15:38:40 +08:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|