mihomo-kit/templates/providers/16-myvia.each.yaml

25 lines
811 B
YAML

# [MY] nodes of ${SUB_NAME} with an entry of their own (LuCI «Свои серверы» → «Вход»):
# out of ${SUB_NAME}-my, dialing through ${MV_ENTRY} in every profile
${MV_NAME}:
type: file #@router
path: ./providers/${SUB_NAME}.yaml #@router
type: http #@mobile
url: "${SUB_URL}" #@mobile
path: ./providers/${MV_NAME}.yaml #@mobile
interval: 3600 #@mobile
proxy: ${@SUB_PROXY} #@mobile
filter: "${MV_FILTER}"
override:
dialer-proxy: ${MV_ENTRY}
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