mirror of https://github.com/go-gitea/gitea.git
parent
206f4c88b1
commit
a0f492d9f4
|
|
@ -235,9 +235,6 @@ func loadServerFrom(rootCfg ConfigProvider) {
|
|||
deprecatedSetting(rootCfg, "server", "LETSENCRYPT_EMAIL", "server", "ACME_EMAIL", "v1.19.0")
|
||||
AcmeEmail = sec.Key("LETSENCRYPT_EMAIL").MustString("")
|
||||
}
|
||||
if AcmeEmail == "" {
|
||||
log.Fatal("ACME Email is not set (ACME_EMAIL).")
|
||||
}
|
||||
} else {
|
||||
CertFile = sec.Key("CERT_FILE").String()
|
||||
KeyFile = sec.Key("KEY_FILE").String()
|
||||
|
|
|
|||
Loading…
Reference in New Issue