We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7ebca commit ab203bfCopy full SHA for ab203bf
recipe/auto-tls/server.go
@@ -10,6 +10,8 @@ import (
10
func main() {
11
e := echo.New()
12
// e.AutoTLSManager.HostPolicy = autocert.HostWhitelist("<your_domain>")
13
+ // Store the certificate to avoid issues with rate limits (https://letsencrypt.org/docs/rate-limits/)
14
+ // e.AutoTLSManager.Cache = autocert.DirCache("<path to store key and certificate>")
15
e.Use(middleware.Recover())
16
e.Use(middleware.Logger())
17
e.GET("/", func(c echo.Context) error {
0 commit comments