-
-
Notifications
You must be signed in to change notification settings - Fork 337
/
example.env
47 lines (34 loc) · 839 Bytes
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 优先级 cli > .env > default value
# 1. ~$ export $(grep -v '^#' example.env | xargs)
# 2. ~$ ./stat_client -u h1
# 或 systemd => EnvironmentFile=/opt/ServerStatus/.env
SSR_DEBUG=true
SSR_ADDR=http://127.0.0.1:8080/report
# SSR_USER=h1
SSR_PASS=p1
# group mode
#SSR_GID=
#SSR_ALIAS=
#SSR_LOC=
#SSR_TYPE=
# vnstat
SSR_VNSTAT=true
SSR_VNSTAT_MR=1
SSR_DISABLE_TUPD=false
SSR_DISABLE_PING=false
SSR_DISABLE_EXTRA=false
SSR_DISABLE_NOTIFY=false
#SSR_IFACE=
SSR_EXCLUDE_IFACE=lo,docker,vnet,veth,vmbr,kube,br-
SSR_WEIGHT=0
SSR_CM_ADDR=cm.tz.cloudcpp.com:80
SSR_CT_ADDR=ct.tz.cloudcpp.com:80
SSR_CU_ADDR=cu.tz.cloudcpp.com:80
SSR_IPV4_ADDR=ipv4.google.com:80
SSR_IPV6_ADDR=ipv6.google.com:80
# ip-api.com / ip.sb / ipapi.co / myip.la
SSR_IP_SOURCE=ip-api.com
# 1:ipv4, 2:ipv6, 3:both
SSR_ONLINE=3
SSR_MTLS=false
SSR_TLS_DIR=tls