mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-09-15 15:46:53 +08:00
增加证书认证开关,优化前端下载证书的错误处理
This commit is contained in:
@@ -47,6 +47,7 @@ type ServerConfig struct {
|
||||
DbSource string `json:"db_source"`
|
||||
CertFile string `json:"cert_file"`
|
||||
CertKey string `json:"cert_key"`
|
||||
AuthAloneCert bool `json:"auth_alone_cert"`
|
||||
ClientCertCAFile string `json:"client_ca_file"`
|
||||
ClientCertCAKeyFile string `json:"client_ca_key_file"`
|
||||
FilesPath string `json:"files_path"`
|
||||
|
Reference in New Issue
Block a user