fix: nginx logs manual link error #201

close #201
This commit is contained in:
0xJacky 2023-11-23 22:02:13 +08:00
parent 7aa1765dda
commit 4b567e474c
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0

View file

@ -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