跳转到内容
shoes

clash_api.yaml

所有示例

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

examples/clash_api.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

查看此修订版本的源文件