From 4b567e474c5ddfdef268160f1d41f09535600f17 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Thu, 23 Nov 2023 22:02:13 +0800 Subject: [PATCH] fix: nginx logs manual link error #201 close #201 --- server/api/nginx_log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/api/nginx_log.go b/server/api/nginx_log.go index 7785af5a..23ca6fd3 100644 --- a/server/api/nginx_log.go +++ b/server/api/nginx_log.go @@ -143,7 +143,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) { case "error": if settings.NginxSettings.ErrorLogPath == "" { err = errors.New("settings.NginxLogSettings.ErrorLogPath is empty," + - " see https://github.com/0xJacky/nginx-ui/wiki/Nginx-Log-Configuration for more information") + " refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information") return } logPath = settings.NginxSettings.ErrorLogPath @@ -151,7 +151,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) { default: if settings.NginxSettings.AccessLogPath == "" { err = errors.New("settings.NginxLogSettings.AccessLogPath is empty," + - " see https://github.com/0xJacky/nginx-ui/wiki/Nginx-Log-Configuration for more information") + " refer to https://nginxui.com/zh_CN/guide/config-nginx-log.html for more information") return } logPath = settings.NginxSettings.AccessLogPath