mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
parent
7aa1765dda
commit
4b567e474c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue