Nginx, logrotate and empty files
- by user37887
Hi. I have a problem with nginx/logrotate. The problems is that nginx is logging access to 2 files (main and data).
I have the following contrab setting:
0 * * * * /usr/sbin/logrotate -f /home/orwell/orwell-setup/bin/logrotate-nginx
And the file "logrotate-nginx" has the following content:
/tmp/data.log {
rotate 90
daily
…