跳转到内容
shoes

url_test.yaml

所有示例

使用前请修改地址、凭据、证书路径和其他部署相关的值。这是完整的源文件,但不保证未经修改即可在你的机器上运行。请阅读文件中的注释了解前置条件,然后对修改后的文件运行 shoes check。

examples/url_test.yaml
# Replace the probe URL and upstream addresses with your own endpoints.
- client_group: fastest
type: url-test
url: "https://probe.example.com/generate_204"
interval: 300
timeout: 5000
tolerance: 50
lazy: true
client_proxies:
- name: east
address: "east.example.com:443"
protocol:
type: vless
user_id: "550e8400-e29b-41d4-a716-446655440000"
- name: west
address: "west.example.com:443"
protocol:
type: vless
user_id: "550e8400-e29b-41d4-a716-446655440000"
- address: "127.0.0.1:1080"
protocol: {type: socks}
rules:
- mask: "0.0.0.0/0"
action: allow
client_chain: fastest

查看此修订版本的源文件