mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine full conf
This commit is contained in:
parent
e5e0c4a68d
commit
abef029610
1 changed files with 16 additions and 13 deletions
|
@ -43,6 +43,9 @@ max_connections 1000;
|
|||
# default: on
|
||||
daemon on;
|
||||
|
||||
#############################################################################################
|
||||
# heartbeat/stats sections
|
||||
#############################################################################################
|
||||
# heartbeat to api server
|
||||
# @remark, the ip report to server, is retrieve from system stat,
|
||||
# which need the config item stats.network_device_index.
|
||||
|
@ -74,6 +77,19 @@ heartbeat {
|
|||
summaries off;
|
||||
}
|
||||
|
||||
# system statistics section.
|
||||
# the main cycle will retrieve the system stat,
|
||||
# for example, the cpu/mem/network/disk-io data,
|
||||
# the http api, for instance, /api/v1/summaries will show these data.
|
||||
# @remark the heartbeat depends on the network_device_index,
|
||||
# for example, the eth0 maybe the device which index is 0.
|
||||
stats {
|
||||
# the index of device ip.
|
||||
# we may retrieve more than one network device.
|
||||
# default: 0
|
||||
network_device_index 0;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
# HTTP sections
|
||||
#############################################################################################
|
||||
|
@ -114,19 +130,6 @@ http_stream {
|
|||
dir ./objs/nginx/html;
|
||||
}
|
||||
|
||||
# system statistics section.
|
||||
# the main cycle will retrieve the system stat,
|
||||
# for example, the cpu/mem/network/disk-io data,
|
||||
# the http api, for instance, /api/v1/summaries will show these data.
|
||||
# @remark the heartbeat depends on the network_device_index,
|
||||
# for example, the eth0 maybe the device which index is 0.
|
||||
stats {
|
||||
# the index of device ip.
|
||||
# we may retrieve more than one network device.
|
||||
# default: 0
|
||||
network_device_index 0;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
# RTMP/HTTP VHOST sections
|
||||
#############################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue