id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 939,acess_log with if unnecessarily accesses access_log causing error,simonhf@…,,"Consider this conf line: access_log /var/log/nginx/access.log combined if=0; Works correctly when nginx run with sudo. But if not then we get the following error: nginx: [emerg] open() ""/var/log/nginx/access.log"" failed (13: Permission denied) The thing is, because the if condition is zero then surely it should not even be trying to access /var/log/nginx/access.log, or?",defect,closed,major,,nginx-core,1.8.x,invalid,access_log if,,Linux ubuntu 4.2.0-25-generic #30-Ubuntu SMP Mon Jan 18 12:31:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux,nginx version: nginx/1.8.1.8