diff --git a/cmd/drone-server/server.go b/cmd/drone-server/server.go index a9087790..a4efe2f5 100644 --- a/cmd/drone-server/server.go +++ b/cmd/drone-server/server.go @@ -584,7 +584,7 @@ func server(c *cli.Context) error { dir := cacheDir() os.MkdirAll(dir, 0700) - manager := autocert.Manager{ + manager := &autocert.Manager{ Prompt: autocert.AcceptTOS, HostPolicy: autocert.HostWhitelist(address.Host), Cache: autocert.DirCache(dir),