nginx logfile rotation

Jim Ohlstein jim at
Tue Sep 1 06:11:17 MSD 2009

Ray wrote:
> Am trying to configure for logfile rotation using logrotate with nginx 
> (0.7.61).  As the logrotate script runs, the old logfile is renamed 
> and a new one is created, but nginx still writes to the old (renamed) 
> logfile even with open_log_file_cache set to off according to 
> Is there anything that I'm missing out?
> Ray.
kill -USR1 `cat /path/to/`

More information about the nginx mailing list