Merge pull request #704 from ckeyer/fix_nginx_reload
fix nginx reload flags '-c'
This commit is contained in:
commit
49e490e5e5
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ func (n NGINXController) Reload(data []byte) ([]byte, bool, error) {
|
|||
return nil, false, err
|
||||
}
|
||||
|
||||
o, e := exec.Command(n.binary, "-s", "reload").CombinedOutput()
|
||||
o, e := exec.Command(n.binary, "-s", "reload", "-c", cfgPath).CombinedOutput()
|
||||
|
||||
return o, true, e
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue