mirror of
https://github.com/cfal/shoes.git
synced 2026-11-06 08: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.
31 lines
659 B
YAML
31 lines
659 B
YAML
- clash_api_address: "0.0.0.0:9090"
|
|
secret: "replace-with-a-strong-controller-secret"
|
|
cors_origins:
|
|
- "https://board.zash.run"
|
|
|
|
- cache_file_path: "./cache.db"
|
|
|
|
- client_group: outbound
|
|
type: selector
|
|
default: us-east
|
|
client_proxies:
|
|
- name: us-east
|
|
address: "us.example.com:1080"
|
|
protocol:
|
|
type: socks
|
|
- name: eu-west
|
|
address: "eu.example.com:1080"
|
|
protocol:
|
|
type: socks
|
|
|
|
- name: local-socks
|
|
address: "0.0.0.0:1080"
|
|
protocol:
|
|
type: socks
|
|
username: example
|
|
password: "replace-with-a-proxy-password"
|
|
rules:
|
|
- mask: "0.0.0.0/0"
|
|
action: allow
|
|
client_chain: outbound
|