Nginx does not re-open log files on SIGUSR1.

Piotr Karbowski jabberuser at gmail.com
Mon Jan 3 17:16:46 MSK 2011


On 01/03/2011 03:09 PM, Piotr Sikora wrote:
> Hi,
>
>> So nginx' workers need exec permission on logdir?
>
> Yes.

Any reason to? Nginx works for me flawless on each box with 700 
root:root on /var/log/nginx, the only problem I found is SIGUSR1, 
Whatever you agree with me or not, nginx shoudn't need perms on its logs 
dir, because it will allow users to use symlink to fetch logs.

-- Piotr.



More information about the nginx mailing list