mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +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
|
||
|
}
|