mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-25 16:50:52 +00:00
14 lines
279 B
Go
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
|
|
}
|