浏览代码

cloudflareServer修改更新证书绑定方法为force

YuXinLong 1 年之前
父节点
当前提交
0fda6a9902
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/CertificateCloudflareServer.go

+ 1 - 1
server/CertificateCloudflareServer.go

@@ -122,7 +122,7 @@ func (s *CertificateServer) EditCertificate(ctx context.Context, requestCloudfla
 	zoneCustomSSL.Certificate = requestCloudflare.GetCertificate()
 	zoneCustomSSL.PrivateKey = requestCloudflare.GetPrivateKey()
 	zoneCustomSSL.GeoRestrictions = &geoRestrictions
-	zoneCustomSSL.BundleMethod = "ubiquitous"
+	zoneCustomSSL.BundleMethod = "force"
 	zoneCustomSSL.Type = "sni_custom"
 	editCertificate, err := api.UpdateSSL(ctxAPI, id, requestCloudflare.GetCertificateId(), zoneCustomSSL)
 	if err != nil {