From d4f3c09d43e9ab375ee95db72fa5f3f7ed5a489a Mon Sep 17 00:00:00 2001 From: Daniel Ding <41363844+BioniCosmos@users.noreply.github.com> Date: Tue, 8 Jun 2021 18:06:46 +0800 Subject: [PATCH] Add config about OCSP Stapling - Add `oneTimeLoading` to fix <https://github.com/XTLS/Xray-core/issues/578> --- docs/config/transport.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/config/transport.md b/docs/config/transport.md index 5a5439f..cc32507 100644 --- a/docs/config/transport.md +++ b/docs/config/transport.md @@ -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"