mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
28 lines
589 B
Text
28 lines
589 B
Text
# main config for srs.
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
srs_log_tank file;
|
|
srs_log_file ./objs/srs.log;
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
raw_api {
|
|
enabled on;
|
|
allow_reload on;
|
|
allow_query on;
|
|
allow_update on;
|
|
}
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
stats {
|
|
network 0;
|
|
disk sda sdb xvda xvdb;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
}
|