mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 20:24:11 +08:00
Oops (pass a pointer)
This commit is contained in:
parent
506630200b
commit
06913ab74f
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user