Skip to content

Commit 0863143

Browse files
committed
fix: nginx guide link #201
1 parent cfa7629 commit 0863143

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/nginx/nginx_log.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
149149
if len(p) > 0 {
150150
logPath = p[0]
151151
}
152-
152+
153153
case "error":
154154
path := nginx.GetErrorLogPath()
155155

156156
if path == "" {
157157
err = errors.New("settings.NginxLogSettings.ErrorLogPath is empty," +
158-
" refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information")
158+
" refer to https://nginxui.com/guide/config-nginx.html for more information")
159159
return
160160
}
161161

@@ -165,7 +165,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
165165

166166
if path == "" {
167167
err = errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
168-
" refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information")
168+
" refer to https://nginxui.com/guide/config-nginx.html for more information")
169169
return
170170
}
171171

0 commit comments

Comments
 (0)