nginx-proxy-manager-zh/backend/internal/nginx/control.go
2022-07-15 14:26:12 +10:00

14 lines
279 B
Go

package nginx
import "npm/internal/entity/host"
// ConfigureHost will attempt to write nginx conf and reload nginx
func ConfigureHost(h host.Model) error {
// nolint: errcheck, gosec
h.Expand([]string{"certificate"})
// nolint: errcheck, gosec
reloadNginx()
return nil
}