From 06913ab74fb0ae8c63abf4c0a361ce1e4ec80290 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 17 Oct 2015 11:15:43 -0600 Subject: [PATCH] Oops (pass a pointer) --- config/letsencrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/letsencrypt.go b/config/letsencrypt.go index 0fa5b0c6..63135171 100644 --- a/config/letsencrypt.go +++ b/config/letsencrypt.go @@ -148,7 +148,7 @@ func initiateLetsEncrypt(configs []server.Config) ([]server.Config, error) { if !plaintextHostFound { // Make one that redirects to HTTPS for all requests - configs = append(configs, redirPlaintextHost(cfg)) + configs = append(configs, redirPlaintextHost(*cfg)) } } }