Add nginx $config_dir test
Fix nginx access log name
Nginx template style fixes
Abstract template $log_dir