24 lines
810 B
YAML
24 lines
810 B
YAML
${SUB_NAME}:
|
|
type: http
|
|
url: "${SUB_URL}"
|
|
path: ./providers/${SUB_NAME}.yaml
|
|
interval: 3600
|
|
proxy: ${@SUB_PROXY}
|
|
exclude-filter: "(?i)app not supported|приложение не|свяжитесь|\\[MY\\]"
|
|
override: #@uplink
|
|
dialer-proxy: UPLINK #@uplink
|
|
header:
|
|
User-Agent: ["${SUB_UA}"]
|
|
${@@SUB_HEADERS}
|
|
# one check per provider: the groups over it (use:) only add their URLs to it,
|
|
# so the interval and lazy here are what counts for RU/FOREIGN/TORRENT/MY-EXIT.
|
|
# lite: every 10 min and skipped while no traffic used the provider
|
|
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
|