Fix TLS documentation

This commit is contained in:
世界
2022-08-26 18:36:49 +08:00
parent a057754035
commit 432e6adf3e
2 changed files with 16 additions and 5 deletions

View File

@@ -39,6 +39,7 @@
```json
{
"enabled": true,
"disable_sni": false,
"server_name": "",
"insecure": false,
"alpn": [],
@@ -87,14 +88,18 @@ Cipher suite values:
Enable TLS.
#### disable_sni
==Client only==
Do not send server name in ClientHello.
#### server_name
Used to verify the hostname on the returned certificates unless insecure is given.
It is also included in the client's handshake to support virtual hosting unless it is an IP address.
See [Server Name Indication](https://en.wikipedia.org/wiki/Server_Name_Indication).
#### insecure
==Client only==