refine full conf

pull/133/head
winlin 11 years ago
parent e5e0c4a68d
commit abef029610

@ -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…
Cancel
Save