diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web_letsencrypt.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web_letsencrypt.go b/cmd/web_letsencrypt.go index d50d803e1d..a683999790 100644 --- a/cmd/web_letsencrypt.go +++ b/cmd/web_letsencrypt.go @@ -54,6 +54,7 @@ func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler) } tlsConfig := magic.TLSConfig() + tlsConfig.NextProtos = append(tlsConfig.NextProtos, "h2") if enableHTTPChallenge { go func() { |