mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
Added setting for customizing webshell start command
This commit is contained in:
parent
70e3f2d372
commit
acc1aabaf7
5 changed files with 9 additions and 3 deletions
|
@ -32,8 +32,10 @@ func ReloadNginx() string {
|
|||
|
||||
output := string(out)
|
||||
log.Println(output)
|
||||
|
||||
return output
|
||||
if strings.Contains(output, "failed") {
|
||||
return output
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func GetNginxConfPath(dir string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue