From 08631437ee264c3c3ccee9221d02d7f5972f7029 Mon Sep 17 00:00:00 2001 From: Jacky Date: Tue, 30 Apr 2024 23:03:23 +0800 Subject: [PATCH] fix: nginx guide link #201 --- api/nginx/nginx_log.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/nginx/nginx_log.go b/api/nginx/nginx_log.go index 09659a7a..09055c02 100644 --- a/api/nginx/nginx_log.go +++ b/api/nginx/nginx_log.go @@ -149,13 +149,13 @@ func getLogPath(control *controlStruct) (logPath string, err error) { if len(p) > 0 { logPath = p[0] } - + case "error": path := nginx.GetErrorLogPath() if path == "" { 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 } @@ -165,7 +165,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) { if path == "" { 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 }