diff --git a/docs/config/proxies/mieru.md b/docs/config/proxies/mieru.md new file mode 100644 index 00000000..d2d610e6 --- /dev/null +++ b/docs/config/proxies/mieru.md @@ -0,0 +1,28 @@ +# Mieru + +```{.yaml linenums="1"} +proxies: + - name: mieru + type: mieru + server: server + port: 2999 + port-range: 2090-2099 + transport: TCP + username: user + password: password + multiplexing: MULTIPLEXING_LOW +``` + +[通用字段](./index.md) + +## port-range + +端口范围,不可与 `port` 同时书写 + +## transport + +协议,目前只支持 `TCP` + +## multiplexing + +多路复用,可以使用的值包括 `MULTIPLEXING_OFF`, `MULTIPLEXING_LOW`, `MULTIPLEXING_MIDDLE`, ·。其中 `MULTIPLEXING_OFF` 会关闭多路复用功能。默认值为 `MULTIPLEXING_LOW` \ No newline at end of file diff --git a/docs/config/rule-providers/index.en.md b/docs/config/rule-providers/index.en.md index afb24218..02481093 100644 --- a/docs/config/rule-providers/index.en.md +++ b/docs/config/rule-providers/index.en.md @@ -45,10 +45,14 @@ Behavior, options are `domain` / `ipcidr` / `classical`, corresponding to differ ## format -Format, options are `yaml` / `text` / `mrs`, default is `yaml`. +Format, options are `yaml` / `text` / `mrs`/`inline`, default is `yaml`. Currently, `mrs` behavior only supports `domain` / `ipcidr`. You can convert using `mihomo convert-ruleset domain/ipcidr yaml/text XXX.yaml XXX.mrs`. ## size-limit The maximum size of downloadable files is restricted, with the default being 0, which means no size limit; the unit is bytes (`b`) + +## payload + +Content, only effective when `format` is `inline` diff --git a/docs/config/rule-providers/index.md b/docs/config/rule-providers/index.md index d057bda2..a779a5c7 100644 --- a/docs/config/rule-providers/index.md +++ b/docs/config/rule-providers/index.md @@ -11,6 +11,8 @@ rule-providers: behavior: classical format: yaml size-limit: 0 + payload: + - 'DOMAIN-SUFFIX,google.com' ``` ## name @@ -45,10 +47,14 @@ rule-providers: ## format -格式,可选 `yaml`/`text`/`mrs`,默认 `yaml` +格式,可选 `yaml`/`text`/`mrs`/`inline`,默认 `yaml` `mrs`目前 `behavior` 仅支持 `domain`/`ipcidr`,可以通过`mihomo convert-ruleset domain/ipcidr yaml/text XXX.yaml XXX.mrs`转换得到 ## size-limit 限制下载文件的最大大小,默认为 0 即不限制文件大小,单位为字节 (`b`) + +## payload + +内容,仅 `format` 为 `inline` 时生效