Browse Source

fix: nginx guide link #201

Jacky 1 year ago
parent
commit
08631437ee
1 changed files with 3 additions and 3 deletions
  1. 3 3
      api/nginx/nginx_log.go

+ 3 - 3
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
         }