mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-06-04 07:45:18 +08:00
实现TLS配置
This commit is contained in:
@@ -41,10 +41,12 @@ type OriginConfig struct {
|
||||
// - http|https 返回2xx-3xx认为成功
|
||||
HealthCheck *HealthCheckConfig `yaml:"healthCheck" json:"healthCheck"`
|
||||
|
||||
Cert *sslconfigs.SSLCertConfig `yaml:"cert" json:"cert"` // 请求源服务器用的证书
|
||||
CertRef *sslconfigs.SSLCertRef `yaml:"certRef" json:"certRef"` // 证书的引用
|
||||
Cert *sslconfigs.SSLCertConfig `yaml:"cert" json:"cert"` // 请求源服务器用的证书
|
||||
|
||||
// ftp
|
||||
FTP *OriginFTPConfig `yaml:"ftp" json:"ftp"`
|
||||
FTPServerRef *FTPServerRef `yaml:"ftpServerRef" json:"ftpServerRef"`
|
||||
FTPServer *FTPServerConfig `yaml:"ftpServer" json:"ftpServer"`
|
||||
|
||||
connTimeoutDuration time.Duration
|
||||
readTimeoutDuration time.Duration
|
||||
|
||||
Reference in New Issue
Block a user