Updated deps, go.19 migration, nginx template work

This commit is contained in:
Jamie Curnow committed 2022-11-08 10:03:45 +10:00
1 parent 8d37f5df8d
commit c00b690ed3
23 files changed
+375 -376

No files matched your search

+2 -3
View File
@@ -16,9 +16,8 @@ func ConfigureHost(h host.Model) error {
data := TemplateData{
ConfDir: fmt.Sprintf("%s/nginx/hosts", config.Configuration.DataFolder),
DataDir: config.Configuration.DataFolder,
CertsDir: config.Configuration.Acmesh.CertHome,
Host: &h,
Certificate: h.Certificate,
Host: h.GetTemplate(),
Certificate: h.Certificate.GetTemplate(),
}
filename := fmt.Sprintf("%s/host_%d.conf", data.ConfDir, h.ID)