mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
Update nginx_log.go
This commit is contained in:
parent
6dce44a3cc
commit
d63ad3e989
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func tailNginxLog(ws *websocket.Conn, controlChan chan controlStruct, errChan ch
|
||||||
default:
|
default:
|
||||||
if settings.NginxLogSettings.AccessLogPath == "" {
|
if settings.NginxLogSettings.AccessLogPath == "" {
|
||||||
errChan <- errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
|
errChan <- errors.New("settings.NginxLogSettings.AccessLogPath is empty," +
|
||||||
" see https://github.com/0xJacky/nginx-ui/wiki/Nginx-Log-Configuration for more information\"")
|
" see https://github.com/0xJacky/nginx-ui/wiki/Nginx-Log-Configuration for more information")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
logPath = settings.NginxLogSettings.AccessLogPath
|
logPath = settings.NginxLogSettings.AccessLogPath
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue