>> I just tried:
>> set $test foo;
>> access_log /var/log/nginx/$test.domain_access.log;
>> error_log /var/log/nginx/domain_error.log;
>> And no access log entry is registered whatsoever. I'm using 0.9.4.
>> Can you elaborate on your 'Variables in access_log should work'?
>> Do you mean it should work in a dirname and not on a filename?
>> access_log /var/log/nginx/$test/domain_access.log;
> nginx workers must have rights to create files in /var/log/nginx.
They have. If I set:
a new access log file is created. It just happens that with the above
setting of $set foo no foo.domain_access.log file is created.