chore: use nginx.GetConfEntryPath() #1013

This commit is contained in:
Jacky 2025-05-07 11:53:56 +08:00
parent a75a5b7429
commit 1ba1da0d5d
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
3 changed files with 5 additions and 5 deletions

View file

@ -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")
}