Closed ghost closed 9 years ago
Because the webpage has a refresh loop to stay on top of things, the access_log is growing steadily and with 2 clients it's multiple megabytes in 1 day. Because I run on a Pi, I like to keep writes to a minimum :)
Suggestion for nginx.conf:
access_log off;
Using web sockets would be more work but probably the better solution in the long term
Yep, we'll be using websockets...
Can't nginx have a log rotation/cleaning strategy?
Done! Thanks!
Because the webpage has a refresh loop to stay on top of things, the access_log is growing steadily and with 2 clients it's multiple megabytes in 1 day. Because I run on a Pi, I like to keep writes to a minimum :)
Suggestion for nginx.conf:
access_log logs/access.log main;