mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 18:07:50 +01:00
Add nginx exec
This commit is contained in:
1 parent
b8008606fd
commit
5b6dbaf43e
6 files changed
+101
-14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
Reference in new issue
Block a user