Commit df194d56 authored by Matthew Holt's avatar Matthew Holt

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

parent 97276032
......@@ -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"
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment