mihomo-kit/templates/providers/19-vprov.each.yaml
2026-10-29 23:22:03 +03:00

27 lines
922 B
YAML

# ${VP_BASE} for the chains through ${VP_ENTRY}: the same nodes, named "... ⟶ ${VP_ENTRY}"
${VP_NAME}:
type: file #@router
path: ${VP_PATH} #@router
type: http #@mobile
url: "${SUB_URL}" #@mobile
path: ./providers/${VP_NAME}.yaml #@mobile
interval: 3600 #@mobile
proxy: ${@SUB_PROXY} #@mobile
filter: "(?i)\\[MY\\]" #@vp_my
exclude-filter: "(?i)app not supported|приложение не|свяжитесь|\\[MY\\]" #@vp_sub
override:
additional-prefix: "[MY] " #@vp_links
additional-suffix: " ⟶ ${VP_ENTRY}"
dialer-proxy: ${VP_ENTRY} #@!vp_direct
header: #@mobile
User-Agent: ["${SUB_UA}"] #@mobile
${@@SUB_HEADERS} #@mobile
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