From f09e1e66de789b724ab58fcca30f84aabbc15d85 Mon Sep 17 00:00:00 2001 From: Helio Campos Mello de Andrade Date: Wed, 10 Aug 2016 05:58:40 -0300 Subject: [PATCH] Add log_format config This PR adds the log_format configured into the default-site configuration file. --- nginx/templates/default/default-site.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/templates/default/default-site.erb b/nginx/templates/default/default-site.erb index a58345d573..8c7902e3bd 100644 --- a/nginx/templates/default/default-site.erb +++ b/nginx/templates/default/default-site.erb @@ -2,7 +2,7 @@ server { listen 80; server_name 127.0.0.1; - access_log <%= node[:nginx][:log_dir] %>/localhost.access.log; + access_log <%= node[:nginx][:log_dir] %>/localhost.access.log <%= node[:nginx][:log_format][:name] %>; location / { root /var/www/nginx-default;