Replies: 1 comment
-
When you start multiple servers with same Echo instance it is better if you create your own server instance with Echo as handler. So you are not required to use Echo Modified t := &http.Server{
Handler: e,
Addr: ":443",
TLSConfig: acm.TLSConfig(),
}
fmt.Println("starting https")
err := t.ListenAndServeTLS("", "") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have not been able to configure echo use HTTP-01 with auto TLS. The follow code using the standard library works perfectly on a VM with port 443 access restricted. A request on port 443 results in a HTTP-01 challenge being handled on port 80 and a valid certificate is retrieved.
I have not been able to get the same behavior with Echo. I tried the example in the cookbook and also tried this customized version:
The HTTP-01 challenge is not completed.
Beta Was this translation helpful? Give feedback.
All reactions