summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-04-22 22:42:33 +0200
committerGitHub <noreply@github.com>2021-04-22 22:42:33 +0200
commit8ea1d32bea88b6968774b14e5bbe90f2280fe997 (patch)
treece28cbc996df6c428b6ac03773714b46650a809e /cmd
parente7fc078891d41798703b66bed8bdbf55e8b7c5e1 (diff)
downloadgitea-8ea1d32bea88b6968774b14e5bbe90f2280fe997.tar.gz
gitea-8ea1d32bea88b6968774b14e5bbe90f2280fe997.zip
[Vendor] update certmagic (#15590)
* update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0 * migrate
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web_letsencrypt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web_letsencrypt.go b/cmd/web_letsencrypt.go
index 7754393729..387aacce2c 100644
--- a/cmd/web_letsencrypt.go
+++ b/cmd/web_letsencrypt.go
@@ -32,7 +32,7 @@ func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler)
DisableTLSALPNChallenge: !enableTLSALPNChallenge,
})
- magic.Issuer = myACME
+ magic.Issuers = []certmagic.Issuer{myACME}
// this obtains certificates or renews them if necessary
err := magic.ManageSync([]string{domain})