103 lines
2.1 KiB
YAML
103 lines
2.1 KiB
YAML
public_path: ${PUBLIC_PATH}
|
|
|
|
sources:
|
|
airport-a:
|
|
enabled: true
|
|
display_name: 蛋挞云
|
|
kind: clash_yaml
|
|
url: ${AIRPORT_A_URL}
|
|
prefix: "[A] "
|
|
include_regex: ""
|
|
exclude_regex: ""
|
|
|
|
airport-b:
|
|
enabled: true
|
|
display_name: AnyTLS
|
|
kind: clash_yaml
|
|
url: ${AIRPORT_B_URL}
|
|
prefix: "[B] "
|
|
include_regex: ""
|
|
exclude_regex: ""
|
|
|
|
regions:
|
|
hk:
|
|
name: "🇭🇰 香港自动"
|
|
filter: "(?i)(香港|hk|hong kong)"
|
|
tolerance: 50
|
|
sg:
|
|
name: "🇸🇬 新加坡自动"
|
|
filter: "(?i)(新加坡|狮城|sg|singapore)"
|
|
tolerance: 50
|
|
jp:
|
|
name: "🇯🇵 日本自动"
|
|
filter: "(?i)(日本|jp|japan)"
|
|
tolerance: 50
|
|
us:
|
|
name: "🇺🇸 美国自动"
|
|
filter: "(?i)(美国|美國|us|united states)"
|
|
tolerance: 150
|
|
|
|
rules:
|
|
reject:
|
|
file: reject.yaml
|
|
behavior: domain
|
|
format: yaml
|
|
interval: 86400
|
|
policy: REJECT
|
|
|
|
direct:
|
|
file: direct.yaml
|
|
behavior: domain
|
|
format: yaml
|
|
interval: 86400
|
|
policy: "{{ direct_policy }}"
|
|
|
|
proxy:
|
|
file: proxy.yaml
|
|
behavior: domain
|
|
format: yaml
|
|
interval: 86400
|
|
policy: "{{ main_policy }}"
|
|
|
|
cn-ip:
|
|
file: cn-ip.yaml
|
|
behavior: ipcidr
|
|
format: yaml
|
|
interval: 86400
|
|
policy: "{{ direct_policy }}"
|
|
no_resolve: true
|
|
|
|
clients:
|
|
mihomo:
|
|
title: HomeLab Mihomo
|
|
provider_interval: 21600
|
|
rule_interval: 86400
|
|
test_url: https://www.gstatic.com/generate_204
|
|
test_interval: 300
|
|
main_policy: 节点选择
|
|
source_policy: ☁️ 机场选择
|
|
mixed_auto_policy: ♻️ 自动选择
|
|
manual_policy: 🚀 手动切换
|
|
direct_policy: DIRECT
|
|
mode: rule
|
|
allow_lan: true
|
|
ipv6: true
|
|
mixed_port: 7890
|
|
socks_port: 7891
|
|
log_level: info
|
|
|
|
stash:
|
|
title: HomeLab Stash
|
|
provider_interval: 21600
|
|
rule_interval: 86400
|
|
test_url: https://www.gstatic.com/generate_204
|
|
test_interval: 300
|
|
main_policy: 节点选择
|
|
source_policy: ☁️ 机场选择
|
|
mixed_auto_policy: ♻️ 自动选择
|
|
manual_policy: 🚀 手动切换
|
|
direct_policy: DIRECT
|
|
mode: rule
|
|
ipv6: true
|
|
log_level: info
|