From 33ed7ce6ff2de28db0f95ac9d412728d0a4992ac Mon Sep 17 00:00:00 2001 From: Sque Squarious Date: Mon, 26 May 2014 15:58:06 +0300 Subject: [PATCH] Define exclipitly the nginx log files when enabling http_to_https vhost. --- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb index ed36ac4..3f8cc83 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb @@ -29,6 +29,8 @@ server { server_name <%= @fqdn %>; server_tokens off; return 301 https://<%= @fqdn %>:<%= @port %>$request_uri; + access_log <%= @log_directory %>/gitlab_access.log; + error_log <%= @log_directory %>/gitlab_error.log; } <% end %> -- libgit2 0.21.2