fix: taking 100% CPU if the log file is not a regular file

This commit is contained in:
0xJacky 2024-01-26 18:49:56 +08:00
parent f20d97a9fd
commit d70e37c857
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
4 changed files with 21 additions and 8 deletions

View file

@ -8,7 +8,7 @@ StartCmd = bash
NodeSecret = fdc7764f-92d2-454c-9640-6a09be121139
Demo = true
[nginx_log]
[nginx]
AccessLogPath = /var/log/nginx/access.local.log
ErrorLogPath = /var/log/nginx/error.local.log