Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Dec 19, 2024
1 parent 2aeaff8 commit cfe92b1
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
28 changes: 28 additions & 0 deletions docs/config/proxies/mieru.md
Original file line number Diff line number Diff line change
@@ -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`
6 changes: 5 additions & 1 deletion docs/config/rule-providers/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
8 changes: 7 additions & 1 deletion docs/config/rule-providers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ rule-providers:
behavior: classical
format: yaml
size-limit: 0
payload:
- 'DOMAIN-SUFFIX,google.com'
```

## name
Expand Down Expand Up @@ -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` 时生效

0 comments on commit cfe92b1

Please sign in to comment.