mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 16:14:11 +00:00
Add URL-scoped health and delay-based upstream selection so new connections can use healthy, transport-compatible proxies without requiring a controller listener. This introduces strict client_group.type configuration in place of strategy, bounded automatic probes with lazy activity tracking and reload fencing, controller reporting, and configuration documentation. It also preserves local failure attribution through outbound HTTP/2 adapters so local resource limits do not incorrectly penalize proxy health.
27 lines
670 B
YAML
27 lines
670 B
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
|