mihomo-kit/templates/providers/15-sub.each.yaml
2026-10-21 12:08:02 +03:00

21 lines
778 B
YAML

# own servers kept in the subscription, named "[MY] ...", for group MY (the main
# provider leaves them out). Not a second download: reads the file the main
# provider saves (mihomo watches it); a provider of its own because on whitelist
# they go through MY-EXIT. ./providers exists before the start (ovpn_routes_write).
${SUB_NAME}-my:
type: file
path: ./providers/${SUB_NAME}.yaml
filter: "(?i)\\[MY\\]"
override: #@my_exit
dialer-proxy: MY-EXIT #@my_exit
override: #@csqtt,!my_exit
dialer-proxy: UPLINK #@csqtt,!my_exit
health-check:
enable: true
url: "https://www.gstatic.com/generate_204"
interval: 300 #@!lite
interval: 600 #@lite
timeout: 3000
lazy: false #@!lite
lazy: true #@lite