Allow setting the nginx log_dir via attribute

Previously setting this attribute would cause nginx to fail to start
since the log dir referenced in these files would never get created
Merge branch 'tas50-CHEF-5038'