Add config about OCSP Stapling

- Add `oneTimeLoading` to fix <https://github.com/XTLS/Xray-core/issues/578>
This commit is contained in:
Daniel Ding 2021-06-08 18:06:46 +08:00
parent 64caa15920
commit d4f3c09d43
No known key found for this signature in database
GPG key ID: 333FAF79363035B9

View file

@ -243,6 +243,7 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之
```json
{
"ocspStapling": 3600,
"oneTimeLoading": false,
"usage": "encipherment",
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key",
@ -299,7 +300,11 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之
> `ocspStapling`: number
ocspStapling 检查更新时间间隔。 单位:秒
ocspStapling 检查更新时间间隔。 单位:秒。默认值为 `3600`,即一小时。
> `oneTimeLoading`: true | false
仅加载一次。值为 `true` 时将关闭证书热重载功能。
> `usage`: "encipherment" | "verify" | "issue"