Skip to content

Commit 8236f3d

Browse files
committed
feat: update clash.yaml
有机会抽时间看看Wiki真好
1 parent c42368d commit 8236f3d

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

_example/clash.yaml

+26-15
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,45 @@ proxy-groups:
2323
type: select
2424
proxies:
2525
- example
26+
- filtered
2627
- main
2728
- backup
2829
- DIRECT
30+
url: https://www.gstatic.com/generate_204
31+
interval: 600
32+
timeout: 2000
33+
lazy: true
2934
- name: AIGC
3035
type: select
3136
use:
3237
- main
38+
- name: filtered
39+
type: url-test
40+
tolerance: 200
41+
use:
42+
- main
43+
filter: "hk|hongkong|hong kong"
44+
url: http://www.gstatic.com/generate_204
45+
interval: 300
46+
timeout: 2000
47+
max-failed-times: 5
48+
lazy: true
3349
- name: main
3450
type: select
3551
use:
3652
- main
53+
url: https://www.gstatic.com/generate_204
54+
interval: 0
55+
timeout: 2000
56+
lazy: true
3757
- name: backup
3858
type: select
3959
use:
4060
- backup
61+
url: https://www.gstatic.com/generate_204
62+
interval: 0
63+
timeout: 2000
64+
lazy: true
4165
- name: Unmached
4266
type: select
4367
proxies:
@@ -50,19 +74,11 @@ proxy-providers:
5074
url: example.com
5175
interval: 3600
5276
path: ./profiles/main.yaml
53-
health-check:
54-
enable: false
55-
url: http://www.gstatic.com/generate_204
56-
interval: 300
5777
backup:
5878
type: http
5979
url: example.com
6080
interval: 3600
6181
path: ./profiles/backup.yaml
62-
health-check:
63-
enable: false
64-
url: http://www.gstatic.com/generate_204
65-
interval: 300
6682

6783
rule-providers:
6884
reject:
@@ -116,17 +132,12 @@ rule-providers:
116132
path: ./ruleset/ai.txt
117133

118134
rules:
119-
- DOMAIN,clash.razord.top,DIRECT
120-
- DOMAIN,yacd.haishan.me,DIRECT
121135
- RULE-SET,reject,REJECT
122136
- RULE-SET,ai,AIGC
123137
- IP-CIDR,8.8.8.8/32,PROXY
124138
- IP-CIDR,1.1.1.1/32,PROXY
125139
- IP-CIDR,8.8.4.4/32,PROXY
126140
- IP-CIDR,1.0.0.1/32,PROXY
127-
- IP-CIDR,192.168.3.2/32,DIRECT
128-
- DOMAIN,cdn.jsdelivr.net,PROXY
129-
- DOMAIN,assets.fanart.tv,PROXY
130141
- RULE-SET,telegramcidr,PROXY
131142
- RULE-SET,icloud,DIRECT
132143
- RULE-SET,apple,DIRECT
@@ -138,9 +149,9 @@ rules:
138149

139150
dns:
140151
nameserver:
141-
- gwdns
152+
- gwdns # change it
142153
fallback:
143154
- https://8.8.8.8/dns-query
144155
- https://1.1.1.1/dns-query
145156
proxy-server-nameserver:
146-
- gwdns
157+
- gwdns # change it

0 commit comments

Comments
 (0)