mdserver-web/plugins/webstats/conf/config.json

54 lines
1.3 KiB
JSON

{
"global": {
"monitor": true,
"save_day": 1,
"autorefresh": false,
"refresh_interval": 3,
"cdn": true,
"cdn_headers": [
"x-forwarded-for",
"x-real-ip",
"x-forwarded",
"forwarded-for",
"forwarded",
"true-client-ip",
"client-ip",
"ali-cdn-real-ip",
"cdn-src-ip",
"cdn-real-ip",
"cf-connecting-ip",
"x-cluster-client-ip",
"wl-proxy-client-ip",
"proxy-client-ip",
"true-client-ip"
],
"exclude_extension": [
"png",
"gif",
"jpg",
"css",
"svg",
"js",
"ico",
"woff2"
],
"exclude_status": [
301,
302,
303
],
"exclude_ip":[
"192.168.1.1"
],
"exclude_url":[],
"ip_top_num": 10,
"uri_top_num": 10,
"statistics_machine_access": true,
"statistics_ip": true,
"statistics_uri": true,
"record_post_args": false,
"record_get_403_args": false,
"push_report": false,
"data_dir": "/www/server/webstats/logs"
}
}