Don't forget to set port to "https" and indicate TLS enabled

This commit is contained in:
Matthew Holt 2015-10-17 09:06:05 -06:00
parent 9727603250
commit df194d567f

View file

@ -127,6 +127,8 @@ func initiateLetsEncrypt(configs []server.Config) error {
for _, cfg := range serverConfigs {
cfg.TLS.Certificate = filepath.Join(app.DataFolder(), "letsencrypt", "sites", cfg.Host, cfg.Host+".crt")
cfg.TLS.Key = filepath.Join(app.DataFolder(), "letsencrypt", "sites", cfg.Host, cfg.Host+".key")
cfg.TLS.Enabled = true
cfg.Port = "https"
}
}