mihomo-kit/templates/groups/45-sub.yaml
2026-10-26 15:52:40 +03:00

24 lines
940 B
YAML

# own servers: those of the settings (proxies/30-own_srv) and the "[MY] ..." nodes of
# the subscriptions (providers <id>-my); the fastest alive one; pin one in the dashboard if needed
- name: MY
type: url-test
proxies: [${OWN_LIST}] #@own_srv
use: [${MY_SUB_LIST}]
url: "https://www.gstatic.com/generate_204"
interval: 300 #@!lite
interval: 600 #@lite
tolerance: 50
lazy: false #@!lite
lazy: true #@lite
# whitelist and mobile (my_exit): what own servers are reached through; switches only when the node is
# clearly worse or dead (each switch breaks everything going through MY)
- name: MY-EXIT #@my_exit
type: url-test #@my_exit
use: [${SUB_LIST}] #@my_exit
exclude-filter: "(?i)🇷🇺|\\bru\\b|russia|росси|моск" #@my_exit
url: "https://www.gstatic.com/generate_204" #@my_exit
interval: 300 #@my_exit
tolerance: 300 #@my_exit
lazy: false #@my_exit