mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
chore: use nginx.GetConfEntryPath() #1013
This commit is contained in:
parent
a75a5b7429
commit
1ba1da0d5d
3 changed files with 5 additions and 5 deletions
|
@ -51,7 +51,7 @@ func GetNginxWorkerConfigInfo() (*NginxConfigInfo, error) {
|
|||
},
|
||||
}
|
||||
|
||||
confPath := nginx.GetConfPath("nginx.conf")
|
||||
confPath := nginx.GetConfEntryPath()
|
||||
if confPath == "" {
|
||||
return nil, errors.New("failed to get nginx.conf path")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue