mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
【修复】修复部署到阿里云waf失败导致panic
【调整】https监控禁止重定向 【调整】https监控增加失败重试3次
This commit is contained in:
@@ -108,7 +108,7 @@ func Save(setting *Setting) error {
|
||||
public.TimeOut = setting.Timeout
|
||||
restart = true
|
||||
}
|
||||
if setting.Https != "" && setting.Https != public.GetSettingIgnoreError("https") {
|
||||
if setting.Https != "" {
|
||||
if setting.Https == "1" {
|
||||
if setting.Key == "" || setting.Cert == "" {
|
||||
return fmt.Errorf("key or cert is empty")
|
||||
|
||||
Reference in New Issue
Block a user