From ed5ca6bc4eb5375ce4a62d484b1c6d375054705e Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Sun, 4 Mar 2018 11:54:01 -0300 Subject: [PATCH] Add support for http-01 handler --- handlers/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/bootstrap.go b/handlers/bootstrap.go index 56a7593..97ab7b8 100644 --- a/handlers/bootstrap.go +++ b/handlers/bootstrap.go @@ -165,7 +165,7 @@ func Register(extend HandlerExtender) { log.Println("Starting redirect server") redirectServer := http.Server{ Addr: "0.0.0.0:3001", - Handler: nr, + Handler: certManager.HTTPHandler(nr), IdleTimeout: 30 * time.Second, ReadHeaderTimeout: 5 * time.Second, }