Skip to content

Commit 5bd79de

Browse files
authored
Update tls.md
1 parent 2bffec2 commit 5bd79de

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/config/proxies/tls.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ proxies:
2121
ech-opts:
2222
enable: true
2323
config: base64_encoded_config
24+
# query-server-name: xxx.com
2425
```
2526

2627
## tls
@@ -102,3 +103,7 @@ ECH 配置,如果为空则通过dns解析,不为空则通过该值指定,
102103

103104
!!! info
104105
您可以通过`mihomo generate ech-keypair test.com`命令为服务器端和客户端生成符合要求的自签名ech配置对,请将`test.com`自行替换为您想要对外展现的SNI域名,输出中`Config:`后的内容可填在此处,`Key:`后的内容应填在服务端的ECH配置(mihomo的listeners中为`ech-key`)中
106+
107+
### ech-opts.query-server-name
108+
109+
可选项,不为空时用于指定通过dns解析时的域名

0 commit comments

Comments
 (0)