nginx restarting/log rotation

Igor Sysoev is at rambler-co.ru
Tue Jun 24 12:38:42 MSD 2008


On Tue, Jun 24, 2008 at 09:19:16AM +0100, Alan Williamson wrote:

> what is the correct procedure for asking nginx to reload the 
> configuration files?

-HUP

> and on that note, what is the procedure for restarting nginx to give me 
> a chance to rotate the log files once a day?   something similar to an 
> "apachectl graceful".

Yes, but for instance log rotation you should use -USR1


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list