On Thu, Sep 26, 2019 at 06:13:55PM +0300, Maxim Dounin wrote:
> On Thu, Sep 26, 2019 at 06:22:41AM -0400, krishna wrote:

Hi there,

> > -rwxr-xr-x. 1 root root 0 Sep 25 03:13 access.log
> > -rwxr-xr-x. 1 root root 0 Sep 26 03:34 error.log
> 
> These files are only writable by root, hence nginx worker 
> processes won't be able to open these for writing after log 
> rotation.  You have to fix your log rotation configuration to 
> create files which are writable by nginx user.

Ah, that was the part that I had missed here too.

Thanks for the extended explanation.

Cheers,

        f
-- 
Francis Daly        [email protected]
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to