浏览代码

fix: nginx logs manual link error #201

close #201
0xJacky 1 年之前
父节点
当前提交
4b567e474c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/api/nginx_log.go

+ 2 - 2
server/api/nginx_log.go

@@ -143,7 +143,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
 	case "error":
 	case "error":
 		if settings.NginxSettings.ErrorLogPath == "" {
 		if settings.NginxSettings.ErrorLogPath == "" {
 			err = errors.New("settings.NginxLogSettings.ErrorLogPath is empty," +
 			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
 			return
 		}
 		}
 		logPath = settings.NginxSettings.ErrorLogPath
 		logPath = settings.NginxSettings.ErrorLogPath
@@ -151,7 +151,7 @@ func getLogPath(control *controlStruct) (logPath string, err error) {
 	default:
 	default:
 		if settings.NginxSettings.AccessLogPath == "" {
 		if settings.NginxSettings.AccessLogPath == "" {
 			err = errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
 			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
 			return
 		}
 		}
 		logPath = settings.NginxSettings.AccessLogPath
 		logPath = settings.NginxSettings.AccessLogPath