mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: nginx guide link #201
This commit is contained in:
parent
cfa7629c30
commit
08631437ee
1 changed files with 3 additions and 3 deletions
|
@ -149,13 +149,13 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
|
||||||
if len(p) > 0 {
|
if len(p) > 0 {
|
||||||
logPath = p[0]
|
logPath = p[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
case "error":
|
case "error":
|
||||||
path := nginx.GetErrorLogPath()
|
path := nginx.GetErrorLogPath()
|
||||||
|
|
||||||
if path == "" {
|
if path == "" {
|
||||||
err = errors.New("settings.NginxLogSettings.ErrorLogPath is empty," +
|
err = errors.New("settings.NginxLogSettings.ErrorLogPath is empty," +
|
||||||
" refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information")
|
" refer to https://nginxui.com/guide/config-nginx.html for more information")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
|
||||||
|
|
||||||
if path == "" {
|
if path == "" {
|
||||||
err = errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
|
err = errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
|
||||||
" refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information")
|
" refer to https://nginxui.com/guide/config-nginx.html for more information")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue